nemo::PolynomExpansion< T > Class Template Reference

A Mapping computes polynomial terms out of vector-values. More...

#include <VectorMappings.h>

List of all members.

Public Member Functions

MathVector< T > evaluate (MathVector< T > value) const
 Compute the outut value for a given input value.
 ~PolynomExpansion ()

Static Public Member Functions

static Mapping< MathVector< T >
, MathVector< T > > 
create (unsigned int polynomOrderP)

Detailed Description

template<typename T = double>
class nemo::PolynomExpansion< T >

A Mapping computes polynomial terms out of vector-values.

Each PolynomExpansion is fully specified by its polynomial order, which it receives at construction. For instance, specifying a polynomial order 2 results in the following input-output behavior:

  • p2( [x1] ) = [1, x1, x1^2]
  • p2( [x1, x2] ) = [1, x1, x2, x1^2, x1*x2, x2^2]

This mapping type is not invertible.

Definition at line 112 of file VectorMappings.h.


Constructor & Destructor Documentation

template<typename T = double>
nemo::PolynomExpansion< T >::~PolynomExpansion (  )  [inline]

Definition at line 150 of file VectorMappings.h.


Member Function Documentation

template<typename T = double>
static Mapping<MathVector<T>,MathVector<T> > nemo::PolynomExpansion< T >::create ( unsigned int  polynomOrderP  )  [inline, static]

Definition at line 114 of file VectorMappings.h.

template<typename T = double>
MathVector<T> nemo::PolynomExpansion< T >::evaluate ( MathVector< T >  value  )  const [inline, virtual]

Compute the outut value for a given input value.

Implements nemo::MappingDefinition< MathVector< T >, MathVector< T > >.

Definition at line 118 of file VectorMappings.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 25 12:49:59 2013 for NemoMath by  doxygen 1.6.3