







|
| Optimization Framework |
| Term..::..Subtraction Operator (Variable, Term) |
| Term Class See Also Send Feedback |
Implements the operator -.
Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0
Syntax
| C# |
|---|
public static Expression operator -( Variable variable, Term term ) |
| Visual Basic |
|---|
Public Shared Operator - ( _ variable As Variable, _ term As Term _ ) As Expression |
| Visual C++ |
|---|
public: static Expression^ operator -( Variable^ variable, Term^ term ) |
Parameters
- variable
- Type: Optimization..::..Variable
The variable.
- term
- Type: Optimization..::..Term
The term.
Return Value
The result of the operator.
Contracts
| Requires |
|---|
!variable.Equals(null) |
(Object)term != null |
| Ensures |
|---|
(Object)Contract.Result<Expression>() != null |
