#include <alfunction.h>


Public Member Functions | |
| LConstFun (const CT &value, DT xlo, DT xhi) | |
| virtual CT | f (DT x) const override |
| virtual DT | limitHi () const override |
| virtual DT | limitLo () const override |
| virtual void | invertDirection () |
| virtual void | setLimits (DT lo, DT hi) |
| virtual ALFunction< DT, CT > * | clone () override |
| virtual ALFunction< DT, CT > * | create_derivative () override |
| virtual void | bound (const DT &xmin, const DT &xmax, CT &ymin, CT &ymax) override |
Public Member Functions inherited from adore::mad::ALFunction< DT, CT > | |
| virtual | ~ALFunction () |
| ALFunction () | |
| const CT | operator() (DT x) const |
| bool | isInDomain (DT x) |
| CT | f_bounded (DT x) |
| virtual void | f (DT *xvec, CT *yvec, unsigned int count) const |
| void | bound (CT &ymin, CT &ymax) |
| void | invalidateCachedBounds () |
Public Attributes | |
| CT | m_value |
| DT | m_xlo |
| DT | m_xhi |
LConstFun - a function with constant output
|
inline |
|
inlineoverridevirtual |
bound function values in the x-range defined by the hypercube between corner points lower left xmin and upper right xmax
Implements adore::mad::ALFunction< DT, CT >.
|
inlineoverridevirtual |
create a copy of child class object - is used for function operations
Implements adore::mad::ALFunction< DT, CT >.
|
inlineoverridevirtual |
create a new function object, which is the derivative function
Implements adore::mad::ALFunction< DT, CT >.
|
inlineoverridevirtual |
function evaluation returns y of codomain type CT for a value x of domain type DT
Implements adore::mad::ALFunction< DT, CT >.
|
inlinevirtual |
|
inlineoverridevirtual |
query upper limit of the domain
Implements adore::mad::ALFunction< DT, CT >.
|
inlineoverridevirtual |
lower limit of the domain
Implements adore::mad::ALFunction< DT, CT >.
|
inlinevirtual |
reduce or increase the limit of the function, without changing y
Implements adore::mad::ALFunction< DT, CT >.
| CT adore::mad::LConstFun< DT, CT >::m_value |
| DT adore::mad::LConstFun< DT, CT >::m_xhi |
| DT adore::mad::LConstFun< DT, CT >::m_xlo |