Click or drag to resize
Accord.NET (logo)

QuadraticObjectiveFunctionTryParse Method (String, QuadraticObjectiveFunction)

Attempts to create a QuadraticObjectiveFunction from a String representation.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static bool TryParse(
	string str,
	out QuadraticObjectiveFunction function
)
Request Example View Source

Parameters

str
Type: SystemString
The string containing the function in textual form.
function
Type: Accord.Math.OptimizationQuadraticObjectiveFunction
The resulting function, if it could be parsed.

Return Value

Type: Boolean
true if the function could be parsed from the string, false otherwise.
See Also