29 #ifndef P_POLYNOMIAL_INCLUDED 30 #define P_POLYNOMIAL_INCLUDED 33 # pragma GCC system_header 37 #include "polynomial.h" 54 static int Compare(
const void* v1,
const void* v2);
72 void set(
size_t size );
75 void reset(
size_t newSize );
78 double operator()(
double t )
const;
79 double integral(
double tMin ,
double tMax )
const;
80 double Integral(
void )
const;
112 void getSolutions(
double c,std::vector<double>& roots,
double EPS,
double min=-DBL_MAX,
double max=DBL_MAX)
const;
114 void printnl(
void )
const;
119 void write( FILE* fp ,
int samples ,
double min ,
double max )
const;
127 #include "ppolynomial.hpp" 128 #endif // P_POLYNOMIAL_INCLUDED
int operator<(const StartingPolynomial &sp) const
StartingPolynomial< Degree+Degree2 > operator*(const StartingPolynomial< Degree2 > &p) const
StartingPolynomial scale(double s) const
StartingPolynomial shift(double t) const
StartingPolynomial< Degree > * polys
void write(std::ostream &stream, Type value)
Function for writing data to a stream.
static int Compare(const void *v1, const void *v2)