Click or drag to resize
Accord.NET (logo)

QuadraticObjectiveFunctionUnaryNegation Operator

Negates the quadratic objective function.

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

Parameters

a
Type: Accord.Math.OptimizationQuadraticObjectiveFunction
A QuadraticObjectiveFunction instance.

Return Value

Type: QuadraticObjectiveFunction
Returns a new QuadraticObjectiveFunction instance where each term has been negated.
See Also