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