A class representing a once differentiable function of a single argument. More...
#include <Functions.h>
Inheritance diagram for Core::OneArgumentDiffFunction:
Collaboration diagram for Core::OneArgumentDiffFunction:Public Member Functions | |
| virtual const FunctionDerivatives * | deriv (double x) const =0 |
| Returns a pointer to the derivative of the function. More... | |
Public Member Functions inherited from Core::OneArgumentFunction< double, double > | |
| virtual double | operator() (double in_value) const=0 |
| The value of the function at the given abscissa. More... | |
| virtual double | range_high () const=0 |
| The lower end of the range over which the function is defined. More... | |
| virtual double | 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 &ar, const unsigned int) |
Friends | |
| class | boost::serialization::access |
| Needed for serialization to work. More... | |
A class representing a once differentiable function of a single argument.
Definition at line 104 of file Functions.h.
|
pure virtual |
Returns a pointer to the derivative of the function.
The use of a pointer allows avoiding potentially expensive copy opertaions.
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.
|
inlineprivate |
Serialize this function. The second parameter is supposed to be version
Definition at line 114 of file Functions.h.
|
friend |
Needed for serialization to work.
Definition at line 109 of file Functions.h.