IT++ Logo

Polynomial Functions
[Signal Processing (SP) Module]

void itpp::poly (const vec &r, vec &p)
 Create a polynomial of the given roots.
void itpp::poly (const cvec &r, cvec &p)
 Create a polynomial of the given roots.
vec itpp::poly (const vec &r)
 Create a polynomial of the given roots.
cvec itpp::poly (const cvec &r)
 Create a polynomial of the given roots.
void itpp::roots (const vec &p, cvec &r)
 Calculate the roots of the polynomial.
void itpp::roots (const cvec &p, cvec &r)
 Calculate the roots of the polynomial.
cvec itpp::roots (const vec &p)
 Calculate the roots of the polynomial.
cvec itpp::roots (const cvec &p)
 Calculate the roots of the polynomial.
vec itpp::polyval (const vec &p, const vec &x)
 Evaluate polynomial.
cvec itpp::polyval (const vec &p, const cvec &x)
 Evaluate polynomial.
cvec itpp::polyval (const cvec &p, const vec &x)
 Evaluate polynomial.
cvec itpp::polyval (const cvec &p, const cvec &x)
 Evaluate polynomial.


Function Documentation

void itpp::poly ( const vec r,
vec p 
)

Create a polynomial of the given roots.

Create a polynomial p with roots r

Definition at line 39 of file poly.cpp.

void itpp::roots ( const vec p,
cvec r 
)

Calculate the roots of the polynomial.

Calculate the roots r of the polynomial p

Definition at line 65 of file poly.cpp.

References itpp::diag(), itpp::eig(), itpp::find(), itpp::ones(), and itpp::zeros_c().

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

Definition at line 130 of file poly.cpp.

References it_error_if.

void itpp::poly ( const cvec r,
cvec p 
)

Create a polynomial of the given roots.

Create a polynomial p with roots r

Definition at line 51 of file poly.cpp.

void itpp::roots ( const cvec p,
cvec r 
)

Calculate the roots of the polynomial.

Calculate the roots r of the polynomial p

Definition at line 96 of file poly.cpp.

References itpp::diag(), itpp::eig(), itpp::ones_c(), and itpp::zeros_c().

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

Definition at line 145 of file poly.cpp.

References it_error_if.

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

Definition at line 160 of file poly.cpp.

References it_error_if, and itpp::to_cvec().

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

Definition at line 175 of file poly.cpp.

References it_error_if.

Referenced by itpp::freqz().

vec itpp::poly ( const vec r  )  [inline]

Create a polynomial of the given roots.

Create a polynomial p with roots r

Definition at line 47 of file poly.h.

References itpp::poly().

cvec itpp::poly ( const cvec r  )  [inline]

Create a polynomial of the given roots.

Create a polynomial p with roots r

Definition at line 49 of file poly.h.

Referenced by itpp::poly(), itpp::polystab(), itpp::CRC_Code::set_code(), and itpp::CRC_Code::set_generator().

cvec itpp::roots ( const vec p  )  [inline]

Calculate the roots of the polynomial.

Calculate the roots r of the polynomial p

Definition at line 62 of file poly.h.

References itpp::roots().

cvec itpp::roots ( const cvec p  )  [inline]

Calculate the roots of the polynomial.

Calculate the roots r of the polynomial p

Definition at line 64 of file poly.h.

Referenced by itpp::polystab(), itpp::roots(), and itpp::Turbo_Codec::wcdma_turbo_interleaver_sequence().

SourceForge Logo

Generated on Sun Dec 9 17:31:08 2007 for IT++ by Doxygen 1.5.4