Optimization Framework |
ConstantExpression Members |
ConstantExpression Class Constructors Methods Operators Properties See Also Send Feedback |
The ConstantExpression type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConstantExpression |
Initializes a new instance of the ConstantExpression class.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Evaluate |
Evaluates the expression using the specified variable values.
(Inherited from Expression.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a String that represents this instance.
(Overrides Object..::..ToString()()()().) |
Operators
Name | Description | |
---|---|---|
Addition(Double, ConstantExpression) |
Implements the operator +.
| |
Addition(ConstantExpression, Double) |
Implements the operator +.
| |
ImplicitWideningImplicitImplicitImplicit(Double to ConstantExpression) |
Performs an implicit conversion from Double to ConstantExpression.
| |
ImplicitWideningImplicitImplicitImplicit(Int32 to ConstantExpression) |
Performs an implicit conversion from Int32 to ConstantExpression.
| |
Multiply(Double, ConstantExpression) |
Implements the operator *.
| |
Multiply(ConstantExpression, Double) |
Implements the operator *.
| |
Subtraction(Double, ConstantExpression) |
Implements the operator -.
| |
Subtraction(ConstantExpression, Double) |
Implements the operator +.
|
Properties
Name | Description | |
---|---|---|
Constant |
Gets the constant.
(Overrides Expression..::..Constant.) | |
ExpressionLowerEstimate |
Gives a lower estimate on the value of an Expression.
ToDO: Very experimental. Should be able to estimate linear combinations of variables with finite bounds.
In the default case -infinity is returned!
(Inherited from Expression.) | |
ExpressionUpperEstimate |
Gives an upper estimate in the value of an Expression.
ToDO: Very experimental. Should be able to estimate linear combinations of variables with finite bounds.
In the default case -infinity is returned!
(Inherited from Expression.) | |
isLinear |
Gets or sets a value indicating whether this instance is linear.
(Overrides Expression..::..isLinear.) | |
Terms |
Gets the terms.
(Overrides Expression..::..Terms.) | |
Variables |
Gets the variables.
(Overrides Expression..::..Variables.) |