CYCLUS
Loading...
Searching...
No Matches
cyclus::toolkit::ExponentialFunction Class Reference

Detailed Description

Exponential functions f(x) = constant_ * exp ( exponent_ * x ) + intercept_.

Definition at line 57 of file symbolic_functions.h.

#include <symbolic_functions.h>

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

Public Member Functions

 ExponentialFunction (double c, double e, double i=0.0)
 
virtual std::string Print ()
 
virtual double value (double x)
 
- Public Member Functions inherited from cyclus::toolkit::SymFunction
virtual ~SymFunction ()
 

Additional Inherited Members

- Public Types inherited from cyclus::toolkit::SymFunction
typedef boost::shared_ptr< SymFunctionPtr
 

Constructor & Destructor Documentation

◆ ExponentialFunction()

cyclus::toolkit::ExponentialFunction::ExponentialFunction ( double c,
double e,
double i = 0.0 )
inline

Constructor for an exponential function.

Parameters
cthe leading constant
ethe exponent multiplier
ithe intercept, with the default being 0

Definition at line 63 of file symbolic_functions.h.

Member Function Documentation

◆ Print()

std::string cyclus::toolkit::ExponentialFunction::Print ( )
virtual

Print a string of the function.

Implements cyclus::toolkit::SymFunction.

Definition at line 29 of file symbolic_functions.cc.

◆ value()

double cyclus::toolkit::ExponentialFunction::value ( double x)
virtual

Evaluation for a double argument.

Implements cyclus::toolkit::SymFunction.

Definition at line 24 of file symbolic_functions.cc.


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