IT++ Logo Newcom Logo

Polynomial Functions

Create a polynomial of the given roots. More...

Functions

void itpp::poly (const vec &r, vec &p)
vec itpp::poly (const vec &r)
void itpp::poly (const cvec &r, cvec &p)
cvec itpp::poly (const cvec &r)
void itpp::roots (const vec &p, cvec &r)
cvec itpp::roots (const vec &p)
void itpp::roots (const cvec &p, cvec &r)
cvec itpp::roots (const cvec &p)
vec itpp::polyval (const vec &p, const vec &x)
cvec itpp::polyval (const vec &p, const cvec &x)
cvec itpp::polyval (const cvec &p, const vec &x)
cvec itpp::polyval (const cvec &p, const cvec &x)

Detailed Description

Create a polynomial of the given roots.

Create a polynomial p with roots r

Calculate the roots r of the polynomial p

Evaluate the polynomial p (of length $N+1$ at the points x The output is given by

\[ p_0 x^N + p_1 x^{N-1} + \ldots + p_{N-1} x + p_N \]

SourceForge Logo

Generated on Sat Aug 25 23:40:32 2007 for IT++ by Doxygen 1.5.2