7#ifndef BALL_MATHS_PPOLYNOMIAL_H
8#define BALL_MATHS_PPOLYNOMIAL_H
10#ifndef BALL_MATHS_PIECEWISEFUNCTION_H
85 virtual
double operator () (
double x) const;
void set(Size degree, const std::vector< Interval > &intervals, const std::vector< Coefficients > &coeffs)
Size getDegree() const
get the degree of the polynomial
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
void setDegree(Size degree)
set the degree of the polynomial
#define BALL_CREATE(name)
std::vector< double > Coefficients
std::pair< double, double > Interval