Click or drag to resize
Accord.NET (logo)

MatrixTryParse Method (String, IMatrixFormatProvider, Double)

Converts the string representation of a matrix to its double-precision floating-point number matrix equivalent. A return value indicates whether the conversion succeeded or failed.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
public static bool TryParse(
	string s,
	IMatrixFormatProvider provider,
	out double[][] matrix
Request Example View Source


Type: SystemString
The string representation of the matrix.
Type: Accord.MathIMatrixFormatProvider
The format provider to use in the conversion. Default is to use CurrentCulture.
Type: SystemDouble
A double-precision floating-point number matrix parsed from the given string using the given format provider.

Return Value

Type: Boolean
See Also