Click or drag to resize
Accord.NET (logo)

MatrixToStringT Method (T, String, IMatrixFormatProvider)

Returns a String representation of a given matrix.

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
)
Request Example View Source

Parameters

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