5#ifndef BALL_MATHS_PIECEWISEFUNCTION_H
6#define BALL_MATHS_PIECEWISEFUNCTION_H
129 virtual
double operator () (
double x) const;
142 bool isInRange(
double x) const;
146 virtual
bool isValid() const;
159 virtual
void dump (
std::ostream& s =
std::cout,
Size depth = 0) const;
184 void calculateRange();
#define BALL_CREATE(name)
std::vector< double > Coefficients
std::pair< double, double > Interval