IT++ Logo

Polynomial Functions
[Signal Processing (SP) Module]

void itpp::poly (const vec &r, vec &p)
 Create a polynomial of the given roots

Create a polynomial p with roots r.

void itpp::poly (const cvec &r, cvec &p)
 Create a polynomial of the given roots

Create a polynomial p with roots r.

vec itpp::poly (const vec &r)
 Create a polynomial of the given roots

Create a polynomial p with roots r.

cvec itpp::poly (const cvec &r)
 Create a polynomial of the given roots

Create a polynomial p with roots r.

void itpp::roots (const vec &p, cvec &r)
 Calculate the roots of the polynomial

Calculate the roots r of the polynomial p.

void itpp::roots (const cvec &p, cvec &r)
 Calculate the roots of the polynomial

Calculate the roots r of the polynomial p.

cvec itpp::roots (const vec &p)
 Calculate the roots of the polynomial

Calculate the roots r of the polynomial p.

cvec itpp::roots (const cvec &p)
 Calculate the roots of the polynomial

Calculate the roots r of the polynomial p.

vec itpp::polyval (const vec &p, const vec &x)
 Evaluate polynomial

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 \]

.

cvec itpp::polyval (const vec &p, const cvec &x)
 Evaluate polynomial

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 \]

.

cvec itpp::polyval (const cvec &p, const vec &x)
 Evaluate polynomial

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 \]

.

cvec itpp::polyval (const cvec &p, const cvec &x)
 Evaluate polynomial

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 Sun Apr 20 12:40:08 2008 for IT++ by Doxygen 1.5.5