CYCLUS
Loading...
Searching...
No Matches
cyclus::toolkit::SymFunction Class Referenceabstract

Detailed Description

Abstract base class for symbolic functions.

Definition at line 18 of file symbolic_functions.h.

#include <symbolic_functions.h>

Inheritance diagram for cyclus::toolkit::SymFunction:
cyclus::toolkit::ExponentialFunction cyclus::toolkit::LinearFunction cyclus::toolkit::PiecewiseFunction

Public Types

typedef boost::shared_ptr< SymFunctionPtr
 

Public Member Functions

virtual std::string Print ()=0
 
virtual double value (double x)=0
 
virtual ~SymFunction ()
 

Member Typedef Documentation

◆ Ptr

Definition at line 20 of file symbolic_functions.h.

Constructor & Destructor Documentation

◆ ~SymFunction()

virtual cyclus::toolkit::SymFunction::~SymFunction ( )
inlinevirtual

Virtual destructor for an abstract base class.

Definition at line 23 of file symbolic_functions.h.

Member Function Documentation

◆ Print()

virtual std::string cyclus::toolkit::SymFunction::Print ( )
pure virtual

◆ value()

virtual double cyclus::toolkit::SymFunction::value ( double x)
pure virtual

Base class must define how to calculate demand (dbl argument)

Implemented in cyclus::toolkit::LinearFunction, cyclus::toolkit::ExponentialFunction, and cyclus::toolkit::PiecewiseFunction.


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