UnaryNegation Operator

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Implements the operator -.

Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
public static Term operator -(
	Variable variable
)
Visual Basic
Public Shared Operator - ( _
	variable As Variable _
) As Term
Visual C++
public:
static Term^ operator -(
	Variable^ variable
)

Parameters

variable
Type: Optimization..::..Variable
The variable.

Return Value

A term with the factor of -1 and the variable given.

See Also