







![]() ![]() |
Optimization Framework |
Variable..::..Addition Operator (Double, Variable) |
Variable 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 +( double constant, Variable variable ) |
Visual Basic |
---|
Public Shared Operator + ( _ constant As Double, _ variable As Variable _ ) As Expression |
Visual C++ |
---|
public: static Expression^ operator +( double constant, Variable^ variable ) |
Parameters
- constant
- Type: System..::..Double
The constant.
- variable
- Type: Optimization..::..Variable
The variable.
Return Value
The result of the operator.
Contracts
Requires |
---|
!variable.Equals(null) |
Ensures |
---|
(Object)Contract.Result<Expression>() != null |