#include <polyCoeff.h>
Public Member Functions | |
| std::auto_ptr< PolyCoeff > | conv (const PolyCoeff &other) |
| convolution of coefficient vectors (equivalent to multiplication). | |
| std::auto_ptr< PolyCoeff > | derivative () const |
| Real | eval (Real x) const |
| Real & | getCoeff (int i) |
| Real | getCoeff (int i) const |
| Real * | getCoeffs () |
| const Real * | getCoeffs () const |
| std::auto_ptr< PolyCoeff > | mul (const PolyCoeff &other) |
| Polynomial multiplication. | |
| PolyCoeff | operator* (const PolyCoeff &other) |
| not recommended use mul instead. | |
| PolyCoeff & | operator*= (Real coeff) |
| PolyCoeff & | operator-= (const PolyCoeff &other) |
| PolyCoeff & | operator= (const PolyCoeff &other) |
| Real & | operator[] (int i) |
| Real | operator[] (int i) const |
| PolyCoeff (int n) | |
| PolyCoeff (const PolyCoeff &other) | |
| void | print (const char *name="") const |
| void | printMatlab (const char *name="") const |
| void | reserve (int n_new) |
| void | resize (int n_new) |
| void | scale (Real scale) |
| Change the coefficients so that the polynomial is corresponds to scale*pol. | |
| void | scalex (Real scale) |
| Change the coefficients so that the polynomial is corresponds to changing x to x*scale. | |
| int | size () const |
| ~PolyCoeff () | |
Private Attributes | |
| Real * | coeffs |
| int | n |
Definition at line 11 of file polyCoeff.h.
| concepts::PolyCoeff::PolyCoeff | ( | int | n | ) | [inline] |
Definition at line 13 of file polyCoeff.h.
| concepts::PolyCoeff::~PolyCoeff | ( | ) | [inline] |
Definition at line 19 of file polyCoeff.h.
| concepts::PolyCoeff::PolyCoeff | ( | const PolyCoeff & | other | ) | [inline] |
Definition at line 23 of file polyCoeff.h.
convolution of coefficient vectors (equivalent to multiplication).
Definition at line 100 of file polyCoeff.h.

| std::auto_ptr<PolyCoeff> concepts::PolyCoeff::derivative | ( | ) | const [inline] |
Definition at line 43 of file polyCoeff.h.
| Real& concepts::PolyCoeff::getCoeff | ( | int | i | ) | [inline] |
Definition at line 183 of file polyCoeff.h.
| Real concepts::PolyCoeff::getCoeff | ( | int | i | ) | const [inline] |
Definition at line 187 of file polyCoeff.h.
| Real* concepts::PolyCoeff::getCoeffs | ( | ) | [inline] |
Definition at line 199 of file polyCoeff.h.
| const Real* concepts::PolyCoeff::getCoeffs | ( | ) | const [inline] |
Definition at line 203 of file polyCoeff.h.
Polynomial multiplication.
For coefficient vectors this is equivalent to convoluting them
Definition at line 85 of file polyCoeff.h.

not recommended use mul instead.
Definition at line 74 of file polyCoeff.h.

| Real concepts::PolyCoeff::operator[] | ( | int | i | ) | const [inline] |
| Real& concepts::PolyCoeff::operator[] | ( | int | i | ) | [inline] |
| void concepts::PolyCoeff::print | ( | const char * | name = "" | ) | const [inline] |
| void concepts::PolyCoeff::printMatlab | ( | const char * | name = "" | ) | const [inline] |
| void concepts::PolyCoeff::reserve | ( | int | n_new | ) | [inline] |
Definition at line 149 of file polyCoeff.h.
| void concepts::PolyCoeff::resize | ( | int | n_new | ) | [inline] |
| void concepts::PolyCoeff::scale | ( | Real | scale | ) | [inline] |
Change the coefficients so that the polynomial is corresponds to scale*pol.
Definition at line 123 of file polyCoeff.h.
| void concepts::PolyCoeff::scalex | ( | Real | scale | ) | [inline] |
Change the coefficients so that the polynomial is corresponds to changing x to x*scale.
Definition at line 111 of file polyCoeff.h.

| int concepts::PolyCoeff::size | ( | ) | const [inline] |
Definition at line 78 of file polyCoeff.h.
Real* concepts::PolyCoeff::coeffs [private] |
Definition at line 209 of file polyCoeff.h.
int concepts::PolyCoeff::n [private] |
Definition at line 208 of file polyCoeff.h.