Classes | Public Member Functions | List of all members
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:
Inheritance graph

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 ( )

Print a string of the function.

Implements cyclus::toolkit::SymFunction.

Definition at line 53 of file

◆ value()

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

Evaluation for an double argument.

Implements cyclus::toolkit::SymFunction.

Definition at line 37 of file

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