|
QuadraticObjectiveFunctionTryParse Method (String, CultureInfo, QuadraticObjectiveFunction)
|
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static bool TryParse(
string str,
CultureInfo culture,
out QuadraticObjectiveFunction function
)
Public Shared Function TryParse (
str As String,
culture As CultureInfo,
<OutAttribute> ByRef function As QuadraticObjectiveFunction
) As Boolean
Request Example
View SourceParameters
- str
- Type: SystemString
The string containing the function in textual form. - culture
- Type: System.GlobalizationCultureInfo
The culture information specifying how
numbers written in the function should
be parsed. Default is CultureInfo.InvariantCulture. - function
- Type: Accord.Math.OptimizationQuadraticObjectiveFunction
The resulting function, if it could be parsed.
Return Value
Type:
Booleantrue if the function could be parsed
from the string,
false otherwise.
See Also