Click or drag to resize
Accord.NET (logo)

MatrixParse Method (String, IMatrixFormatProvider)

Converts the string representation of a matrix to its double-precision floating-point number matrix equivalent.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double[,] Parse(
	string str,
	IMatrixFormatProvider provider
)
Request Example View Source

Parameters

str
Type: SystemString
The string representation of the matrix.
provider
Type: Accord.MathIMatrixFormatProvider
The format provider to use in the conversion. Default is to use CurrentCulture.

Return Value

Type: Double
A double-precision floating-point number matrix parsed from the given string using the given format provider.
See Also