OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Truncate power series map. More...
#include <VpsMap.h>
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< T > | substitute (const VpsMap< T > &vv) const |
Substitute. More... | |
VpsMap< T > | substitute (const Matrix< T > &M) const |
Substitute. More... | |
VpsMap< T > | substitute (const VpsMap< T > &y, int trunc) const |
Substitute and truncate. More... | |
VpsMap< T > | substituteInto (const Matrix< T > &x) const |
Substitute. More... | |
Vector< T > | constantTerm (const Vector< T > &y) const |
Evaluate map at point. More... | |
Vector< T > | constantTerm () const |
Evaluate map at origin. More... | |
Matrix< T > | linearTerms (const Vector< T > &y) const |
Extract linear terms at point. More... | |
Matrix< T > | linearTerms () const |
Extract linear terms at origin. More... | |
VpsMap< T > | derivative (int var) const |
Derivative with respect to variable [b]var[/b]. More... | |
VpsMap< T > | integral (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< T > | operator+ () const |
Unary plus. More... | |
Vps< T > | operator- () 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< T > | filter (int lowOrder, int highOrder) const |
Extract range of orders, set others to zero. More... | |
Vps< T > | truncate (int trunc) |
Truncate, may also increase truncation order. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Vps< T > | |
Array1D< Tps< T > > | data |
int | variables |
Truncate power series map.
Evaluate map at point.
Definition at line 233 of file VpsMap.h.
References TpsData::getSubTable(), TpsData::getTpsData(), TpsSubstitution::index, TpsSubstitution::order, Array1D< T >::size(), TpsSubstitution::skip, Attrib::Legacy::Distribution::T, and TpsSubstitution::variable.
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().
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().
Extract linear terms at point.
Definition at line 274 of file VpsMap.h.
References Array2D< T >::ncols(), and Array2D< T >::nrows().
Definition at line 214 of file VpsMap.h.
References Vps< T >::operator=().
Substitute and truncate.
Definition at line 326 of file VpsMap.h.
References Vps< T >::check(), Vps< T >::data, Vps< T >::getDimension(), TpsData::getSubTable(), TpsData::getTpsData(), TpsSubstitution::index, min(), TpsSubstitution::order, Array1D< T >::size(), TpsSubstitution::skip, Attrib::Legacy::Distribution::T, and TpsSubstitution::variable.
Substitute.
Definition at line 371 of file VpsMap.h.
References Array2D< T >::ncols(), and Array2D< T >::nrows().
Referenced by operator*().