#include <alfunction.h>
Public Types | |
typedef adoreMatrix< T, Na+Nb, 1 > | CT |
typedef adoreMatrix< T, Na, 1 > | CTa |
typedef adoreMatrix< T, Nb, 1 > | CTb |
typedef T | DT |
Public Member Functions | |
FunctionCombination_Stack (ALFunction< T, CTa > *a, ALFunction< T, CTb > *b) | |
virtual | ~FunctionCombination_Stack () |
virtual CT | f (T x) const override |
virtual DT | limitHi () const override |
virtual DT | 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 DT &xmin, const DT &xmax, CT &ymin, CT &ymax) override |
Public Member Functions inherited from adore::mad::ALFunction< T, adoreMatrix< T, Na+Nb, 1 > > | |
virtual void | f (T *xvec, adoreMatrix< T, Na+Nb, 1 > *yvec, unsigned int count) const |
void | bound (adoreMatrix< T, Na+Nb, 1 > &ymin, adoreMatrix< T, Na+Nb, 1 > &ymax) |
virtual | ~ALFunction () |
ALFunction () | |
const adoreMatrix< T, Na+Nb, 1 > | operator() (T x) const |
bool | isInDomain (T x) |
adoreMatrix< T, Na+Nb, 1 > | f_bounded (T x) |
void | invalidateCachedBounds () |
Public Attributes | |
ALFunction< T, CTa > * | a |
ALFunction< T, CTb > * | b |
a helper class for combining a T^1->T^Na with a T^1->T^Nb function by stacking
typedef adoreMatrix<T, Na + Nb, 1> adore::mad::FunctionCombination_Stack< T, Na, Nb >::CT |
typedef adoreMatrix<T, Na, 1> adore::mad::FunctionCombination_Stack< T, Na, Nb >::CTa |
typedef adoreMatrix<T, Nb, 1> adore::mad::FunctionCombination_Stack< T, Na, Nb >::CTb |
typedef T adore::mad::FunctionCombination_Stack< T, Na, Nb >::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< T, adoreMatrix< T, Na+Nb, 1 > >.
|
inlineoverridevirtual |
create a copy of child class object - is used for function operations
Implements adore::mad::ALFunction< T, adoreMatrix< T, Na+Nb, 1 > >.
|
inlineoverridevirtual |
create a new function object, which is the derivative function
Implements adore::mad::ALFunction< T, adoreMatrix< T, Na+Nb, 1 > >.
|
inlineoverridevirtual |
function evaluation returns y of codomain type CT for a value x of domain type DT
Implements adore::mad::ALFunction< T, adoreMatrix< T, Na+Nb, 1 > >.
|
inlineoverridevirtual |
query upper limit of the domain
Implements adore::mad::ALFunction< T, adoreMatrix< T, Na+Nb, 1 > >.
|
inlineoverridevirtual |
lower limit of the domain
Implements adore::mad::ALFunction< T, adoreMatrix< T, Na+Nb, 1 > >.
|
inlineoverridevirtual |
reduce or increase the limit of the function, without changing y
Implements adore::mad::ALFunction< T, adoreMatrix< T, Na+Nb, 1 > >.
ALFunction<T, CTa>* adore::mad::FunctionCombination_Stack< T, Na, Nb >::a |
ALFunction<T, CTb>* adore::mad::FunctionCombination_Stack< T, Na, Nb >::b |