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

Detailed Description

Piecewise function f(x) for all x in [lhs,rhs] 0 otherwise.

Definition at line 88 of file symbolic_functions.h.

#include <symbolic_functions.h>

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

Public Member Functions

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
 

Member Function Documentation

◆ Print()

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

Print a string of the function.

Implements cyclus::toolkit::SymFunction.

Definition at line 53 of file symbolic_functions.cc.

◆ value()

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

Evaluation for an double argument.

Implements cyclus::toolkit::SymFunction.

Definition at line 37 of file symbolic_functions.cc.


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