#include <alfunction.h>
Public Types | |
typedef DTb | DT |
typedef CTa | CT |
Public Member Functions | |
FunctionCombination_Chain (ALFunction< DTa, CTa > *a, ALFunction< DTb, DTa > *b) | |
virtual | ~FunctionCombination_Chain () |
virtual CTa | f (DTb x) const override |
virtual DTb | limitHi () const override |
virtual DTb | limitLo () const override |
virtual void | setLimits (DT lo, DT hi) override |
virtual ALFunction< DT, CT > * | clone () override |
virtual ALFunction< DT, CT > * | create_derivative () override |
virtual void | bound (const DTb &xmin, const DTb &xmax, CTa &ymin, CTa &ymax) override |
Public Member Functions inherited from adore::mad::ALFunction< DTb, CTa > | |
virtual void | f (DTb *xvec, CTa *yvec, unsigned int count) const |
void | bound (CTa &ymin, CTa &ymax) |
virtual | ~ALFunction () |
ALFunction () | |
const CTa | operator() (DTb x) const |
bool | isInDomain (DTb x) |
CTa | f_bounded (DTb x) |
void | invalidateCachedBounds () |
Public Attributes | |
ALFunction< DTa, CTa > * | a |
ALFunction< DTb, DTa > * | b |
a helper class for combining two functions by chaining
typedef CTa adore::mad::FunctionCombination_Chain< DTa, CTa, DTb >::CT |
typedef DTb adore::mad::FunctionCombination_Chain< DTa, CTa, DTb >::DT |
|
inline |
|
inlinevirtual |
|
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< DTb, CTa >.
|
inlineoverridevirtual |
create a copy of child class object - is used for function operations
Implements adore::mad::ALFunction< DTb, CTa >.
|
inlineoverridevirtual |
create a new function object, which is the derivative function
Implements adore::mad::ALFunction< DTb, CTa >.
|
inlineoverridevirtual |
function evaluation returns y of codomain type CT for a value x of domain type DT
Implements adore::mad::ALFunction< DTb, CTa >.
|
inlineoverridevirtual |
query upper limit of the domain
Implements adore::mad::ALFunction< DTb, CTa >.
|
inlineoverridevirtual |
lower limit of the domain
Implements adore::mad::ALFunction< DTb, CTa >.
|
inlineoverridevirtual |
reduce or increase the limit of the function, without changing y
Implements adore::mad::ALFunction< DTb, CTa >.
ALFunction<DTa, CTa>* adore::mad::FunctionCombination_Chain< DTa, CTa, DTb >::a |
ALFunction<DTb, DTa>* adore::mad::FunctionCombination_Chain< DTa, CTa, DTb >::b |