Click or drag to resize
Accord.NET (logo)

QuadraticObjectiveFunctionMultiply Operator (Double, QuadraticObjectiveFunction)

Multiplies each term in the QuadraticObjectiveFunction by the specified scalar.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static QuadraticObjectiveFunction operator *(
	double scalar,
	QuadraticObjectiveFunction a
)
Request Example View Source

Parameters

scalar
Type: SystemDouble
Scalar to multiply the individual terms by.
a
Type: Accord.Math.OptimizationQuadraticObjectiveFunction
A QuadraticObjectiveFunction instance.

Return Value

Type: QuadraticObjectiveFunction
Returns a new QuadraticObjectiveFunction instance with all terms multiplied by the specified scalar.
See Also