Class MEAL::ScalarMath
-
class ScalarMath
Convenience interface to building expressions from elements.
Public Functions
-
ScalarMath(double value = 0.0)
Default construct from a scalar value.
-
explicit ScalarMath(const Estimate<double> &value)
Construct from a scalar value.
-
ScalarMath(const ScalarMath &s)
Copy constructor.
-
const ScalarMath operator=(const ScalarMath &s)
Assignment operator.
-
const ScalarMath operator+=(const ScalarMath &b)
Addition operator.
-
const ScalarMath operator-=(const ScalarMath &b)
Subtraction operator.
-
const ScalarMath operator*=(const ScalarMath &b)
Multiplication operator.
-
const ScalarMath operator/=(const ScalarMath &b)
Division operator.
-
double evaluate() const
Evaluate the expression.
-
Estimate<double> get_Estimate() const
Evaluate the expression and its estimated error.
-
ScalarMath(double value = 0.0)