Convenience interface to building expressions from elements. More...

#include <ScalarMath.h>

Public Member Functions

 ScalarMath (double value=0.0)
 Default construct from a scalar value.
 
 ScalarMath (const Estimate< double > &value)
 Construct from a scalar value.
 
 ScalarMath (const ScalarMath &s)
 Copy constructor.
 
 ScalarMath (const Reference::To< Scalar > &s)
 Construct from a Reference::To<Scalar>
 
 ScalarMath (Scalar &s)
 Construct from a pointer to Scalar.
 
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.
 
Scalarget_expression () const
 Access the expression.
 

Protected Attributes

Reference::To< Scalarexpression
 The expression.
 

Detailed Description

Convenience interface to building expressions from elements.


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17