|
MatrixToStringT Method (T, String, IMatrixFormatProvider)
|
Returns a String representation of a a given array.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static string ToString<T>(
this T[] matrix,
string format,
IMatrixFormatProvider provider
)
<ExtensionAttribute>
Public Shared Function ToString(Of T) (
matrix As T(),
format As String,
provider As IMatrixFormatProvider
) As String
Request Example
View SourceParameters
- matrix
- Type: T
The matrix. - format
- Type: SystemString
The format to use when creating the resulting string.
- provider
- Type: Accord.MathIMatrixFormatProvider
The IMatrixFormatProvider to be used
when creating the resulting string. Default is to use
CurrentCulture.
Type Parameters
- T
Return Value
Type:
String
A
String that represents this instance.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Examples See Also