The base class for functions which take a single argument and return a single value. More...
#include <Functions.h>
Public Member Functions | |
virtual OutputDataType | operator() (InputDataType in_value) const =0 |
The value of the function at the given abscissa. More... | |
virtual InputDataType | range_high () const =0 |
The lower end of the range over which the function is defined. More... | |
virtual InputDataType | range_low () const =0 |
The upper end of the range over which the function is defined. More... | |
virtual InterpSolutionIterator | crossings (double y=0) const =0 |
An iterator over the abscissas where the function takes the given y value. More... | |
virtual | ~OneArgumentFunction () |
Provide a virtual destructor for a virtual class. More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &, const unsigned int) |
Serialize this function. More... | |
Friends | |
class | boost::serialization::access |
Needed for serialization to work. More... | |
The base class for functions which take a single argument and return a single value.
Definition at line 36 of file Functions.h.
|
inlinevirtual |
Provide a virtual destructor for a virtual class.
Definition at line 62 of file Functions.h.
|
pure virtual |
An iterator over the abscissas where the function takes the given y value.
Implemented in CosFunction, LogFunction, ScaledFunction, FunctionToPower, FunctionRatio, PiecewiseFunction, FuncPlusFunc, ExponentialPlusFunc, ConservedLERadObliquityEvolution, Core::ZeroFunction, Core::InterpolatingFunctionALGLIB, InverseFunction, InverseLinearLconvEvolution< LINEAR_QUANTITY_TYPE >, StellarEvolution::SumQuantity, ConservedLEConvObliquityEvolution, Oblique10LinearQuantity, Oblique20LinearQuantity, and StellarEvolution::ZeroQuantity.
|
pure virtual |
The value of the function at the given abscissa.
Implemented in CosFunction, LogFunction, ScaledFunction, FunctionToPower, FunctionRatio, PiecewiseFunction, FuncPlusFunc, ExponentialPlusFunc, StellarEvolution::EvolvingStellarQuantity, ConservedLERadObliquityEvolution, Core::ZeroFunction, Core::InterpolatingFunctionALGLIB, StellarEvolution::PolynomialEvolutionQuantity, InverseFunction, InverseLinearLconvEvolution< LINEAR_QUANTITY_TYPE >, ConservedLEConvObliquityEvolution, Oblique10LinearQuantity, Oblique20LinearQuantity, StellarEvolution::SumQuantity, and StellarEvolution::ZeroQuantity.
|
pure virtual |
The lower end of the range over which the function is defined.
Implemented in CosFunction, LogFunction, ScaledFunction, FunctionToPower, FunctionRatio, PiecewiseFunction, FuncPlusFunc, ExponentialPlusFunc, StellarEvolution::EvolvingStellarQuantity, ConservedLERadObliquityEvolution, Core::ZeroFunction, Core::InterpolatingFunctionALGLIB, StellarEvolution::PolynomialEvolutionQuantity, InverseLinearLconvEvolution< LINEAR_QUANTITY_TYPE >, InverseFunction, ConservedLEConvObliquityEvolution, StellarEvolution::SumQuantity, Oblique10LinearQuantity, Oblique20LinearQuantity, and StellarEvolution::ZeroQuantity.
|
pure virtual |
The upper end of the range over which the function is defined.
Implemented in CosFunction, LogFunction, ScaledFunction, FunctionToPower, FunctionRatio, PiecewiseFunction, FuncPlusFunc, ExponentialPlusFunc, StellarEvolution::EvolvingStellarQuantity, ConservedLERadObliquityEvolution, Core::ZeroFunction, Core::InterpolatingFunctionALGLIB, StellarEvolution::PolynomialEvolutionQuantity, InverseFunction, InverseLinearLconvEvolution< LINEAR_QUANTITY_TYPE >, ConservedLEConvObliquityEvolution, StellarEvolution::SumQuantity, Oblique10LinearQuantity, Oblique20LinearQuantity, and StellarEvolution::ZeroQuantity.
|
inlineprivate |
Serialize this function.
Definition at line 43 of file Functions.h.
|
friend |
Needed for serialization to work.
Definition at line 39 of file Functions.h.