CYCLUS
|
Abstract base class for symbolic functions.
Definition at line 18 of file symbolic_functions.h.
#include <symbolic_functions.h>
Public Types | |
typedef boost::shared_ptr< SymFunction > | Ptr |
Public Member Functions | |
virtual std::string | Print ()=0 |
virtual double | value (double x)=0 |
virtual | ~SymFunction () |
typedef boost::shared_ptr<SymFunction> cyclus::toolkit::SymFunction::Ptr |
Definition at line 20 of file symbolic_functions.h.
|
inlinevirtual |
Virtual destructor for an abstract base class.
Definition at line 23 of file symbolic_functions.h.
|
pure virtual |
Every function must print itself.
Implemented in cyclus::toolkit::LinearFunction, cyclus::toolkit::ExponentialFunction, and cyclus::toolkit::PiecewiseFunction.
Base class must define how to calculate demand (dbl argument)
Implemented in cyclus::toolkit::LinearFunction, cyclus::toolkit::ExponentialFunction, and cyclus::toolkit::PiecewiseFunction.