|
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
Syntax public static bool TryParse(
string s,
IMatrixFormatProvider provider,
out double[,] matrix
)
Public Shared Function TryParse (
s As String,
provider As IMatrixFormatProvider,
<OutAttribute> ByRef matrix As Double(,)
) As Boolean
Request Example
View SourceParameters
- s
- 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.
- matrix
- Type: SystemDouble
A double-precision floating-point number matrix parsed
from the given string using the given format provider.
Return Value
Type:
BooleanSee Also