Click or drag to resize
Accord.NET (logo)

QuadraticObjectiveFunctionSubtraction Operator

Subtracts a quadratic objective function together by linearly subtracting the individual terms.

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

Parameters

a
Type: Accord.Math.OptimizationQuadraticObjectiveFunction
The first quadratic objective function.
b
Type: Accord.Math.OptimizationQuadraticObjectiveFunction
The second quadratic objective function.

Return Value

Type: QuadraticObjectiveFunction
Returns a new QuadraticObjectiveFunction where each of the resultant terms are taken to be the difference of the corresponding individual terms.
See Also