template <class T> class Poly Polynomial template class.
The polynomial class supports real and Complex polynomials.
explicit Poly(index_t ord, const T* vec=0)
vec - Vector of length ord+1 of coefficients.
Poly(const Poly& p)
~Poly(void)
bool Null(void) const
index_t Order(void) const
Poly Deriv(void) const
T Deriv(T x) const
int Roots(index_t nMax, T* roots) const
Poly& operator=(const Poly& p)
T operator)(T x) const
T& operator[](index_t i)
const T& operator[](index_t i) const
Poly& operator+=(const Poly& p)
Poly& operator-=(const Poly& p)
Poly& operator*=(const Poly& p)
Poly& operator/=(const Poly& p)
Poly& operator%=(const Poly& p)
Poly& operator+=(T x)
Poly& operator-=(T x)
Poly& operator*=(T x)
Poly& operator/=(T x)
alphabetic index hierarchy of classes
generated by doc++