![]() |
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::ExponentialFunction, cyclus::toolkit::LinearFunction, and cyclus::toolkit::PiecewiseFunction.
|
pure virtual |
Base class must define how to calculate demand (dbl argument)
Implemented in cyclus::toolkit::ExponentialFunction, cyclus::toolkit::LinearFunction, and cyclus::toolkit::PiecewiseFunction.