Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
concepts::PolyCoeff Class Reference

#include <polyCoeff.h>

List of all members.

Public Member Functions

std::auto_ptr< PolyCoeffconv (const PolyCoeff &other)
 convolution of coefficient vectors (equivalent to multiplication).
std::auto_ptr< PolyCoeffderivative () const
Real eval (Real x) const
RealgetCoeff (int i)
Real getCoeff (int i) const
RealgetCoeffs ()
const RealgetCoeffs () const
std::auto_ptr< PolyCoeffmul (const PolyCoeff &other)
 Polynomial multiplication.
PolyCoeff operator* (const PolyCoeff &other)
 not recommended use mul instead.
PolyCoeffoperator*= (Real coeff)
PolyCoeffoperator-= (const PolyCoeff &other)
PolyCoeffoperator= (const PolyCoeff &other)
Realoperator[] (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

Realcoeffs
int n

Detailed Description

Definition at line 11 of file polyCoeff.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

std::auto_ptr<PolyCoeff> concepts::PolyCoeff::conv ( const PolyCoeff other) [inline]

convolution of coefficient vectors (equivalent to multiplication).

Definition at line 100 of file polyCoeff.h.

Here is the call graph for this function:

std::auto_ptr<PolyCoeff> concepts::PolyCoeff::derivative ( ) const [inline]

Definition at line 89 of file polyCoeff.h.

Here is the call graph for this function:

Real concepts::PolyCoeff::eval ( Real  x) 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.

std::auto_ptr<PolyCoeff> concepts::PolyCoeff::mul ( const PolyCoeff other) [inline]

Polynomial multiplication.

For coefficient vectors this is equivalent to convoluting them

Definition at line 85 of file polyCoeff.h.

Here is the call graph for this function:

PolyCoeff concepts::PolyCoeff::operator* ( const PolyCoeff other) [inline]

not recommended use mul instead.

Deprecated:
: not efficient, needs copy

Definition at line 74 of file polyCoeff.h.

Here is the call graph for this function:

PolyCoeff& concepts::PolyCoeff::operator*= ( Real  coeff) [inline]

Definition at line 54 of file polyCoeff.h.

Here is the call graph for this function:

PolyCoeff& concepts::PolyCoeff::operator-= ( const PolyCoeff other) [inline]

Definition at line 62 of file polyCoeff.h.

Here is the call graph for this function:

PolyCoeff& concepts::PolyCoeff::operator= ( const PolyCoeff other) [inline]

Definition at line 27 of file polyCoeff.h.

Here is the call graph for this function:

Real concepts::PolyCoeff::operator[] ( int  i) const [inline]

Definition at line 195 of file polyCoeff.h.

Here is the call graph for this function:

Real& concepts::PolyCoeff::operator[] ( int  i) [inline]

Definition at line 191 of file polyCoeff.h.

Here is the call graph for this function:

void concepts::PolyCoeff::print ( const char *  name = "") const [inline]

Definition at line 162 of file polyCoeff.h.

Here is the call graph for this function:

void concepts::PolyCoeff::printMatlab ( const char *  name = "") const [inline]

Definition at line 173 of file polyCoeff.h.

Here is the call graph for this function:

void concepts::PolyCoeff::reserve ( int  n_new) [inline]

Definition at line 149 of file polyCoeff.h.

void concepts::PolyCoeff::resize ( int  n_new) [inline]

Definition at line 129 of file polyCoeff.h.

Here is the call graph for this function:

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.

Here is the call graph for this function:

int concepts::PolyCoeff::size ( ) const [inline]

Definition at line 78 of file polyCoeff.h.


Member Data Documentation

Definition at line 209 of file polyCoeff.h.

int concepts::PolyCoeff::n [private]

Definition at line 208 of file polyCoeff.h.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)