OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | List of all members
VpsMap< T > Class Template Reference

Truncate power series map. More...

#include <Tps.h>

Inheritance diagram for VpsMap< T >:
Inheritance graph
[legend]
Collaboration diagram for VpsMap< T >:
Collaboration graph
[legend]

Public Member Functions

 VpsMap (int nDim, int nVar)
 Constructor. More...
 
 VpsMap (const Vps< T > &rhs)
 Convert. More...
 
 VpsMap (int nDim, const Tps< T > rhs[])
 Constructor. More...
 
 VpsMap (const Matrix< T > &M)
 Convert. More...
 
 VpsMap (const Vector< T > &V)
 Convert. More...
 
 VpsMap ()
 
 VpsMap (const VpsMap< T > &rhs)
 
 ~VpsMap ()
 
VpsMap< T > & operator= (const VpsMap< T > &y)
 
VpsMap< Tsubstitute (const VpsMap< T > &vv) const
 Substitute. More...
 
VpsMap< Tsubstitute (const Matrix< T > &M) const
 Substitute. More...
 
VpsMap< Tsubstitute (const VpsMap< T > &y, int trunc) const
 Substitute and truncate. More...
 
VpsMap< TsubstituteInto (const Matrix< T > &x) const
 Substitute. More...
 
Vector< TconstantTerm (const Vector< T > &y) const
 Evaluate map at point. More...
 
Vector< TconstantTerm () const
 Evaluate map at origin. More...
 
Matrix< TlinearTerms (const Vector< T > &y) const
 Extract linear terms at point. More...
 
Matrix< TlinearTerms () const
 Extract linear terms at origin. More...
 
VpsMap< Tderivative (int var) const
 Derivative with respect to variable [b]var[/b]. More...
 
VpsMap< Tintegral (int var) const
 Integral with respect to variable [b]var[/b]. More...
 
- Public Member Functions inherited from Vps< T >
 Vps (int nDim, int nVar=0)
 Constructor. More...
 
 Vps (const Matrix< T > &M)
 Convert. More...
 
 Vps (const Vector< T > &V)
 Convert from vector. More...
 
 Vps ()
 
 Vps (const Vps< T > &rhs)
 
 ~Vps ()
 
Vps< T > & operator= (const Vps< T > &)
 
const Tps< T > & getComponent (int index) const
 Get component. More...
 
void setComponent (int index, const Tps< T > &value)
 Set component. More...
 
Tps< T > & operator[] (int index)
 Get component. More...
 
const Tps< T > & operator[] (int index) const
 Set component. More...
 
void check () const
 Check consistency. More...
 
Vps< Toperator+ () const
 Unary plus. More...
 
Vps< Toperator- () const
 Unary minus. More...
 
Vps< T > & operator*= (const Tps< T > &y)
 Multiply by Tps<T> and assign. More...
 
Vps< T > & operator/= (const Tps< T > &y)
 Divide by Tps<T> and assign. More...
 
Vps< T > & operator*= (const T &y)
 Multiply by constant and assign. More...
 
Vps< T > & operator/= (const T &y)
 Divide by constant and assign. More...
 
Vps< T > & operator+= (const Vps< T > &y)
 Addition. More...
 
Vps< T > & operator-= (const Vps< T > &y)
 Subtraction. More...
 
Vps< T > & operator+= (const Vector< T > &y)
 Add and assign. More...
 
Vps< T > & operator-= (const Vector< T > &y)
 Subtract and assign. More...
 
std::istream & get (std::istream &is)
 Get a Vps<T> from stream is. More...
 
std::ostream & put (std::ostream &os) const
 Put a Vps<T> to stream os. More...
 
int getDimension () const
 Get dimension (number of Tps<T> components). More...
 
int getTopOrder () const
 Get highest order contained in any component. More...
 
int getTruncOrder () const
 Get lowest truncation order in any component. More...
 
int getVariables () const
 Get number of variables (the same in all components). More...
 
Vps< Tfilter (int lowOrder, int highOrder) const
 Extract range of orders, set others to zero. More...
 
Vps< Ttruncate (int trunc)
 Truncate, may also increase truncation order. More...
 

Additional Inherited Members

- Protected Attributes inherited from Vps< T >
Array1D< Tps< T > > data
 
int variables
 

Detailed Description

template<class T>
class VpsMap< T >

Truncate power series map.

Definition at line 31 of file Tps.h.

Constructor & Destructor Documentation

template<class T >
VpsMap< T >::VpsMap ( int  nDim,
int  nVar 
)
inline

Constructor.

Definition at line 173 of file VpsMap.h.

template<class T>
VpsMap< T >::VpsMap ( const Vps< T > &  rhs)
inline

Convert.

Definition at line 185 of file VpsMap.h.

template<class T>
VpsMap< T >::VpsMap ( int  nDim,
const Tps< T rhs[] 
)
inline

Constructor.

Definition at line 191 of file VpsMap.h.

template<class T>
VpsMap< T >::VpsMap ( const Matrix< T > &  M)
inline

Convert.

Definition at line 197 of file VpsMap.h.

template<class T>
VpsMap< T >::VpsMap ( const Vector< T > &  V)
inline

Convert.

Definition at line 203 of file VpsMap.h.

template<class T>
VpsMap< T >::VpsMap ( )
inline

Definition at line 167 of file VpsMap.h.

template<class T>
VpsMap< T >::VpsMap ( const VpsMap< T > &  rhs)
inline

Definition at line 179 of file VpsMap.h.

template<class T >
VpsMap< T >::~VpsMap ( )
inline

Definition at line 209 of file VpsMap.h.

Member Function Documentation

template<class T>
Vector< T > VpsMap< T >::constantTerm ( const Vector< T > &  y) const
template<class T>
Vector< T > VpsMap< T >::constantTerm ( ) const

Evaluate map at origin.

Definition at line 266 of file VpsMap.h.

template<class T >
VpsMap< T > VpsMap< T >::derivative ( int  var) const

Derivative with respect to variable [b]var[/b].

Definition at line 302 of file VpsMap.h.

References VpsMap< T >::derivative().

Referenced by VpsMap< T >::derivative().

Here is the call graph for this function:

template<class T >
VpsMap< T > VpsMap< T >::integral ( int  var) const

Integral with respect to variable [b]var[/b].

Definition at line 314 of file VpsMap.h.

References VpsMap< T >::integral().

Referenced by VpsMap< T >::integral().

Here is the call graph for this function:

template<class T>
Matrix< T > VpsMap< T >::linearTerms ( const Vector< T > &  y) const

Extract linear terms at point.

Definition at line 274 of file VpsMap.h.

References Array2D< T >::ncols(), and Array2D< T >::nrows().

Referenced by DynamicFixedPoint::DynamicFixedPoint(), NormalForm::NormalForm(), and StaticFixedPoint::StaticFixedPoint().

Here is the call graph for this function:

template<class T>
Matrix< T > VpsMap< T >::linearTerms ( ) const

Extract linear terms at origin.

Definition at line 288 of file VpsMap.h.

template<class T>
VpsMap< T > & VpsMap< T >::operator= ( const VpsMap< T > &  y)
inline

Definition at line 214 of file VpsMap.h.

References Vps< T >::operator=().

Referenced by VpsInvMap< T >::operator=().

Here is the call graph for this function:

template<class T>
VpsMap< T > VpsMap< T >::substitute ( const VpsMap< T > &  vv) const
inline
template<class T>
VpsMap< T > VpsMap< T >::substitute ( const Matrix< T > &  M) const
inline

Substitute.

Definition at line 227 of file VpsMap.h.

template<class T>
VpsMap< T > VpsMap< T >::substitute ( const VpsMap< T > &  y,
int  trunc 
) const
template<class T>
VpsMap< T > VpsMap< T >::substituteInto ( const Matrix< T > &  x) const

Substitute.

Definition at line 371 of file VpsMap.h.

References Array2D< T >::ncols(), and Array2D< T >::nrows().

Referenced by operator*().

Here is the call graph for this function:


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