23#ifndef quantlib_abcd_math_function_hpp
24#define quantlib_abcd_math_function_hpp
120 if (
b_==0.0 ||
a_<=0.0)
static void validate(Real a, Real b, Real c, Real d)
Real definiteIntegral(Time t1, Time t2) const
const std::vector< Real > & derivativeCoefficients()
std::vector< Real > definiteIntegralCoefficients(Time t, Time t2) const
Time maximumLocation() const
time at which the function reaches maximum (if any)
Real derivative(Time t) const
const std::vector< Real > & coefficients()
Real maximumValue() const
maximum value of the function
std::vector< Real > abcd_
Real longTermValue() const
function value at time +inf:
std::vector< Real > dabcd_
Real operator()(Time t) const
function value at time t:
Real primitive(Time t) const
std::vector< Real > definiteDerivativeCoefficients(Time t, Time t2) const
Classes and functions for error handling.
Real Time
continuous quantity with 1-year units