|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
Truncated power series in N variables of type T. More...
#include <FTps.h>
Public Member Functions | |
| FTps () | |
| Default constructor. | |
| FTps (const FTps &x) | |
| Copy constructor. | |
| FTps (int minOrder, int maxOrder, int trcOrder) | |
| Constructor. | |
| FTps (const T &) | |
| Conversion. | |
| FTps (int) | |
| Conversion. | |
| ~FTps () | |
| Destructor. | |
| FTps & | operator= (const FTps &y) |
| Assign. | |
| FTps & | operator= (const T &y) |
| Convert and assign. | |
| const T | getCoefficient (int index) const |
| Get coefficient. | |
| void | setCoefficient (int index, const T &value) |
| Set coefficient. | |
| const T | getCoefficient (const FMonomial< N > &monomial) const |
| Get coefficient. | |
| void | setCoefficient (const FMonomial< N > &monomial, const T &value) |
| Set coefficient. | |
| const T | operator[] (int index) const |
| Get coefficient. | |
| T & | operator[] (int index) |
| Get (Set) coefficient. | |
| const T | operator[] (const FMonomial< N > &monomial) const |
| Get coefficient. | |
| T & | operator[] (const FMonomial< N > &monomial) |
| Get (Set) coefficient. | |
| T * | begin () const |
| Return beginning of monomial array. | |
| T * | end () const |
| Return end of monomial array. | |
| T * | begin (int order) const |
| Return beginning of coefficient storage for given order. | |
| T * | end (int order) const |
| Return end of coefficient storage for given order. | |
| int | getSize () const |
| Get total number of coefficients. | |
| int | getMinOrder () const |
| Get minimum order. | |
| void | setMinOrder (int order) |
| Set minimum order. | |
| int | getMaxOrder () const |
| Get maximum order. | |
| void | setMaxOrder (int order) |
| Set maximum order. | |
| int | getTruncOrder () const |
| Get truncation order. | |
| void | setTruncOrder (int order) |
| Set truncation order. | |
| FTps | filter (int minOrder, int maxOrder, int trcOrder=EXACT) const |
| Extract given range of orders, with truncation. | |
| FTps | truncate (int trunc) |
| Truncate. | |
| FTps | operator+ () const |
| Unary plus. | |
| FTps | operator- () const |
| Unary minus. | |
| FTps & | operator+= (const FTps &y) |
| Add and assign. | |
| FTps & | operator-= (const FTps &y) |
| Subtract and assign. | |
| FTps & | operator*= (const FTps &y) |
| Multiply and assign. | |
| FTps & | operator/= (const FTps &y) |
| Divide and assign. | |
| FTps & | operator+= (const T &y) |
| Add constant and assign. | |
| FTps & | operator-= (const T &y) |
| Subtract constant and assign. | |
| FTps & | operator*= (const T &y) |
| Multiply by constant and assign. | |
| FTps & | operator/= (const T &y) |
| Divide by constant and assign. | |
| FTps | scaleMonomials (const FTps &y) const |
| Scale monomial coefficients by coefficients in [b]y[/b]. | |
| FTps | multiplyVariable (int var, int trunc=EXACT) const |
| Multiply by variable [b]var[/b]. | |
| FTps | multiply (const FTps &y, int trunc=EXACT) const |
| Multiplication. | |
| FTps | inverse (int trunc=EXACT) const |
| Reciprocal, 1/(*this). | |
| FTps | divide (const FTps &y, int trunc=EXACT) const |
| Division. | |
| bool | operator== (const FTps &y) const |
| Equality operator. | |
| bool | operator== (const T &y) const |
| Equality with constant. | |
| bool | operator!= (const FTps &y) const |
| Inequality operator. | |
| bool | operator!= (const T &y) const |
| Inequality with constant. | |
| T | evaluate (const FVector< T, N > &) const |
| Evaluate FTps at point. | |
| Array1D< int > | getSubstOrders (const FVps< T, N > &rhs, int trunc=EXACT) const |
| Return orders {min, max, trc} of f(rhs(z)). | |
| FTps | substitute (const FMatrix< T, N, N > &M, int n) const |
| Substitute. | |
| FTps | substitute (const FMatrix< T, N, N > &M, int nl, int nh) const |
| Substitute. | |
| FTps | substitute (const FMatrix< T, N, N > &M) const |
| Substitute. | |
| FTps | substitute (const FVps< T, N > &m, int trunc=EXACT) const |
| Substitute. | |
| FTps | derivative (int var) const |
| Partial derivative. | |
| FVps< T, N > | gradient () const |
| Gradient. | |
| FTps | integral (int var, int trunc=EXACT) const |
| Partial integral. | |
| FTps | taylor (const Array1D< T > &series, int order) const |
| Taylor series. | |
| void | unique () |
| Make representation unique. | |
| std::list< int > | getListOfNonzeroCoefficients () const |
| Get a list containing the indexes of non-zero coefficients of a FTps. | |
| FArray1D< int, N > | extractExponents (int index) const |
| Extract exponents of coefficient. | |
| FTps< T, N > | makePower (int power) const |
| Multiply FTps with itself. | |
| std::istream & | get (std::istream &is) |
| Read FTps on the stream [b]is[/b]. | |
| std::ostream & | put (std::ostream &os) const |
| Write FTps on the stream [b]os[/b]. | |
Static Public Member Functions | |
| static int | getVariables () |
| Get number of variables. | |
| static int | getSize (int order) |
| Get number of coefficients of degree [b]order[/b] or less. | |
| static int | orderStart (int order) |
| Get index at which [b]order[/b] starts. | |
| static int | orderEnd (int order) |
| Get one plus index at which [b]order[/b] ends. | |
| static int | orderLength (int order) |
| static int | orderLength (int orderL, int orderH) |
| static const FMonomial< N > & | getExponents (int index) |
| Get exponents for given index. | |
| static int | getIndex (const FMonomial< N > &mono) |
| Get Giorgilli index for monomial. | |
| static int | getGlobalTruncOrder () |
| Return the global truncation order. | |
| static void | setGlobalTruncOrder (int order) |
| Set the global truncation order. | |
| static const Array1D< int > & | getProductArray (int index) |
| Index array for products of monomial "index". | |
| static const Array1D< int > & | getVariableList (int index) |
| List of variables contained in monomial "index". | |
| static const Array1D< TpsSubstitution > & | getSubTable () |
| Return the substitution table. | |
| static FTps | makeVariable (int var) |
| Make variable. | |
| static FTps | makeVarPower (int var, int power) |
| Make power. | |
| static FTps | makeMonomial (int index, const T &t) |
| Make monomial. | |
| static FTps | makeMonomial (const FMonomial< N > &m, const T &t) |
| Make monomial. | |
| static Array1D< T > | evalMonoms (const FVector< T, N > &, int) |
| Evaluate monomials at point. | |
| static Array1D< int > | getSubstOrders (Array1D< int > &ordersL, Array1D< int > &ordersR, int trunc=EXACT) |
| Return orders {min, max, trc} of f(rhs(z)),. | |
Static Public Attributes | |
| static const int | EXACT |
| Representation of infinite precision. | |
Private Member Functions | |
| void | grow (int maxOrder, int trcOrder) |
| Array1D< int > | getRepOrders () const |
Static Private Member Functions | |
| static FTpsRep< T, N > * | allocate (int minOrder, int maxOrder, int trcOrder) |
| static void | deallocate (FTpsRep< T, N > *) |
| static void | checkOrders (const std::string &method, int minOrder, int maxOrder, int &trcOrder) |
Private Attributes | |
| FTpsRep< T, N > * | itsRep |
Static Private Attributes | |
| static FTpsRep< T, N > * | freeList [100] |
| static int | globalTruncOrder |
Truncated power series in N variables of type T.
| FTps< T, N >::FTps | ( | ) |
Default constructor.
Definition at line 159 of file FTps.hpp.
References allocate(), EXACT, and itsRep.
Referenced by derivative(), divide(), filter(), FTps(), get(), integral(), inverse(), makeMonomial(), makeMonomial(), makePower(), makeVariable(), makeVarPower(), multiply(), multiplyVariable(), operator!=(), operator*=(), operator*=(), operator+(), operator+=(), operator+=(), operator-(), operator-=(), operator-=(), operator/=(), operator/=(), operator=(), operator=(), operator==(), scaleMonomials(), substitute(), substitute(), substitute(), substitute(), taylor(), and truncate().
| FTps< T, N >::FTps | ( | int | minOrder, |
| int | maxOrder, | ||
| int | trcOrder ) |
Constructor.
Definition at line 173 of file FTps.hpp.
References allocate(), and itsRep.
| FTps< T, N >::FTps | ( | const T & | rhs | ) |
Conversion.
Definition at line 180 of file FTps.hpp.
References allocate(), EXACT, and itsRep.
| FTps< T, N >::FTps | ( | int | rhs | ) |
Conversion.
Definition at line 187 of file FTps.hpp.
References allocate(), EXACT, and itsRep.
Destructor.
Definition at line 194 of file FTps.hpp.
References deallocate(), and itsRep.
|
inlinestaticprivate |
Definition at line 1692 of file FTps.hpp.
References FTpsRep< T, N >::allocOrd, checkOrders(), EXACT, freeList, FTpsRep< T, N >::maxOrd, FTpsRep< T, N >::minOrd, FTpsRep< T, N >::next, FTpsRep< T, N >::ref, and FTpsRep< T, N >::trcOrd.
Referenced by FTps(), FTps(), FTps(), FTps(), grow(), operator=(), and unique().
|
inline |
Return beginning of monomial array.
Definition at line 118 of file FTps.h.
Referenced by derivative(), divide(), filter(), integral(), FVps< T, N >::linearTerms(), multiply(), multiplyVariable(), operator+(), operator-(), operator-(), operator==(), scaleMonomials(), substitute(), and substitute().
|
inline |
|
staticprivate |
Definition at line 1767 of file FTps.hpp.
References EXACT, and globalTruncOrder.
Referenced by allocate(), and filter().
Definition at line 1726 of file FTps.hpp.
References FTpsRep< T, N >::allocOrd, freeList, and FTpsRep< T, N >::next.
Referenced by grow(), operator=(), operator=(), and ~FTps().
Partial derivative.
Definition at line 1396 of file FTps.hpp.
References Array1D< T >::begin(), begin(), begin(), EXACT, FTps(), FTpsData< N >::getExponents(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FTpsData< N >::getProductArray(), FVps< T, N >::getTruncOrder(), orderEnd(), and orderStart().
Referenced by Tracker::applyThinSBend(), Tracker::buildSBendVectorPotential(), Tracker::buildSBendVectorPotential2D(), ExpMap(), ExpMap(), and PoissonBracket().
| FTps< T, N > FTps< T, N >::divide | ( | const FTps< T, N > & | y, |
| int | trunc = EXACT ) const |
Division.
Definition at line 761 of file FTps.hpp.
References begin(), begin(), c, end(), EXACT, FTps(), getMaxOrder(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FTpsData< N >::getProductArray(), getTruncOrder(), FVps< T, N >::getTruncOrder(), globalTruncOrder, itsRep, orderEnd(), orderStart(), and prod().
Referenced by operator/(), and operator/=().
|
inline |
|
inline |
|
static |
Evaluate monomials at point.
Definition at line 898 of file FTps.hpp.
References Array1D< T >::begin(), FArray1D< T, N >::begin(), getSize(), and FTpsData< N >::orderStart().
Referenced by FVps< T, N >::linearTerms().
Evaluate FTps at point.
Definition at line 934 of file FTps.hpp.
References begin(), FArray1D< T, N >::begin(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), getSize(), and FTpsData< N >::orderStart().
Referenced by Tracker::applyThinSBend(), and operator*().
Extract exponents of coefficient.
Definition at line 1535 of file FTps.hpp.
References getExponents(), and getSize().
Referenced by FVps< T, N >::operator*().
| std::istream & FTps< T, N >::get | ( | std::istream & | is | ) |
Read FTps on the stream [b]is[/b].
Definition at line 1571 of file FTps.hpp.
References EXACT, FTps(), FTpsData< N >::getIndex(), getMaxOrder(), getMinOrder(), and itsRep.
Referenced by operator>>().
| const T FTps< T, N >::getCoefficient | ( | const FMonomial< N > & | monomial | ) | const |
Get coefficient.
Definition at line 261 of file FTps.hpp.
References getCoefficient(), and FTpsData< N >::getIndex().
| const T FTps< T, N >::getCoefficient | ( | int | index | ) | const |
Get coefficient.
Definition at line 223 of file FTps.hpp.
References itsRep, orderEnd(), and orderStart().
Referenced by getCoefficient(), getListOfNonzeroCoefficients(), and FVps< T, N >::operator*().
Get exponents for given index.
Definition at line 309 of file FTps.hpp.
References FTpsData< N >::getExponents().
Referenced by extractExponents().
|
inlinestatic |
Return the global truncation order.
Definition at line 191 of file FTps.h.
Referenced by FVps< T, N >::getFTps(), FVps< T, N >::operator*(), FVps< T, N >::substitute(), FVps< T, N >::substitute(), and FVps< T, N >::substitute().
Get Giorgilli index for monomial.
Definition at line 315 of file FTps.hpp.
References FTpsData< N >::getIndex().
| std::list< int > FTps< T, N >::getListOfNonzeroCoefficients | ( | ) | const |
Get a list containing the indexes of non-zero coefficients of a FTps.
Definition at line 1515 of file FTps.hpp.
References getCoefficient(), and getSize().
Referenced by FVps< T, N >::operator*().
|
inline |
Get maximum order.
Definition at line 174 of file FTps.h.
Referenced by Tracker::buildMultipoleVectorPotential(), Tracker::buildMultipoleVectorPotential2D(), Tracker::buildSBendVectorPotential(), Tracker::buildSBendVectorPotential2D(), divide(), FLieGenerator< T, N >::FLieGenerator(), get(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getTopOrder(), FVps< T, N >::linearTerms(), operator+(), operator-(), operator==(), PoissonBracket(), and scaleMonomials().
|
inline |
Get minimum order.
Definition at line 165 of file FTps.h.
Referenced by cos(), cosh(), cot(), coth(), csc(), csch(), erf(), exp(), ExpMap(), ExpMap(), get(), FVps< T, N >::getMinOrder(), FVps< T, N >::linearTerms(), log(), FVps< T, N >::operator*(), operator+(), operator-(), operator==(), PoissonBracket(), pow(), scaleMonomials(), sin(), sinh(), and sqrt().
|
inlinestatic |
Index array for products of monomial "index".
Definition at line 433 of file FTps.hpp.
References FTpsData< N >::getProductArray().
|
inline |
Get total number of coefficients.
Definition at line 136 of file FTps.h.
Referenced by evalMonoms(), evaluate(), extractExponents(), getListOfNonzeroCoefficients(), substitute(), substitute(), FVps< T, N >::substitute(), and FVps< T, N >::substitute().
|
static |
Get number of coefficients of degree [b]order[/b] or less.
Definition at line 303 of file FTps.hpp.
References FTpsData< N >::getSize().
| Array1D< int > FTps< T, N >::getSubstOrders | ( | const FVps< T, N > & | rhs, |
| int | trunc = EXACT ) const |
Return orders {min, max, trc} of f(rhs(z)).
Definition at line 1008 of file FTps.hpp.
References FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FVps< T, N >::getSubstOrders(), and FVps< T, N >::getTruncOrder().
Referenced by FVps< T, N >::getSubstOrders().
|
inlinestatic |
Return the substitution table.
Definition at line 445 of file FTps.hpp.
References FTpsData< N >::getSubTable().
|
inline |
Get truncation order.
Definition at line 183 of file FTps.h.
Referenced by cos(), cosh(), divide(), erf(), exp(), ExpMap(), ExpMap(), FVps< T, N >::getTruncOrder(), log(), operator+(), operator-(), operator==(), PoissonBracket(), scaleMonomials(), sin(), sinh(), and sqrt().
|
inlinestatic |
List of variables contained in monomial "index".
Definition at line 439 of file FTps.hpp.
References FTpsData< N >::getVariableList().
|
inlinestatic |
Definition at line 1433 of file FTps.hpp.
References FVps< T, N >::derivative().
|
private |
Definition at line 1734 of file FTps.hpp.
References allocate(), FTpsRep< T, N >::begin(), deallocate(), FTpsRep< T, N >::end(), ge(), and itsRep.
Referenced by setCoefficient(), setMaxOrder(), setMinOrder(), and setTruncOrder().
Partial integral.
Definition at line 1441 of file FTps.hpp.
References begin(), begin(), EXACT, FTps(), FTpsData< N >::getExponents(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FTpsData< N >::getProductArray(), FVps< T, N >::getTruncOrder(), globalTruncOrder, orderEnd(), and orderStart().
Reciprocal, 1/(*this).
Definition at line 707 of file FTps.hpp.
References c, FTps(), FTpsData< N >::getProductArray(), globalTruncOrder, itsRep, orderEnd(), orderStart(), and prod().
Referenced by operator/(), FVps< T, N >::operator/=(), pow(), sec(), and sech().
|
static |
Make monomial.
Definition at line 508 of file FTps.hpp.
References EXACT, FTps(), and FMonomial< N >::getOrder().
Make monomial.
Definition at line 499 of file FTps.hpp.
References EXACT, FTps(), and FTpsData< N >::getOrder().
Multiply FTps with itself.
Definition at line 1555 of file FTps.hpp.
References FTps(), globalTruncOrder, and multiply().
Referenced by FVps< T, N >::operator*().
| FTps< T, N > FTps< T, N >::multiply | ( | const FTps< T, N > & | y, |
| int | trunc = EXACT ) const |
Multiplication.
Definition at line 650 of file FTps.hpp.
References begin(), begin(), EXACT, FTps(), FTpsData< N >::getProductArray(), itsRep, orderEnd(), orderStart(), and prod().
Referenced by FVps< T, N >::getFTps(), makePower(), FVps< T, N >::operator*(), operator*(), operator*=(), PoissonBracket(), pow(), and taylor().
| FTps< T, N > FTps< T, N >::multiplyVariable | ( | int | var, |
| int | trunc = EXACT ) const |
Multiply by variable [b]var[/b].
Definition at line 610 of file FTps.hpp.
References begin(), begin(), EXACT, FTps(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FTpsData< N >::getProductArray(), FVps< T, N >::getTruncOrder(), and orderStart().
| bool FTps< T, N >::operator!= | ( | const FTps< T, N > & | y | ) | const |
| bool FTps< T, N >::operator!= | ( | const T & | y | ) | const |
Multiply and assign.
Definition at line 545 of file FTps.hpp.
References FTps(), and multiply().
Multiply by constant and assign.
Definition at line 575 of file FTps.hpp.
References begin(), end(), FTps(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), and unique().
Unary minus.
Definition at line 523 of file FTps.hpp.
References begin(), begin(), end(), FTps(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), and FVps< T, N >::getTruncOrder().
Assign.
Definition at line 201 of file FTps.hpp.
References deallocate(), FTps(), and itsRep.
Convert and assign.
Definition at line 213 of file FTps.hpp.
References allocate(), deallocate(), EXACT, FTps(), and itsRep.
Equality operator.
Definition at line 831 of file FTps.hpp.
References begin(), begin(), FTps(), getMaxOrder(), FVps< T, N >::getMaxOrder(), getMinOrder(), FVps< T, N >::getMinOrder(), getTruncOrder(), FVps< T, N >::getTruncOrder(), itsRep, orderEnd(), and orderStart().
| bool FTps< T, N >::operator== | ( | const T & | y | ) | const |
Equality with constant.
Definition at line 867 of file FTps.hpp.
References begin(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), orderEnd(), and orderStart().
Get (Set) coefficient.
Definition at line 295 of file FTps.hpp.
References FTpsData< N >::getIndex(), itsRep, and unique().
Get coefficient.
Definition at line 288 of file FTps.hpp.
References FTpsData< N >::getIndex(), and itsRep.
|
inline |
|
inline |
|
inlinestatic |
Get one plus index at which [b]order[/b] ends.
Definition at line 147 of file FTps.h.
Referenced by derivative(), divide(), getCoefficient(), integral(), inverse(), FVps< T, N >::linearTerms(), multiply(), operator+(), operator-(), operator==(), operator==(), substitute(), substitute(), substitute(), FVps< T, N >::substitute(), FVps< T, N >::substitute(), and FVps< T, N >::substitute().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Get index at which [b]order[/b] starts.
Definition at line 143 of file FTps.h.
Referenced by derivative(), divide(), getCoefficient(), integral(), inverse(), FVps< T, N >::linearTerms(), multiply(), multiplyVariable(), operator+(), operator-(), operator==(), operator==(), put(), substitute(), substitute(), substitute(), FVps< T, N >::substitute(), FVps< T, N >::substitute(), and FVps< T, N >::substitute().
| std::ostream & FTps< T, N >::put | ( | std::ostream & | os | ) | const |
Write FTps on the stream [b]os[/b].
Definition at line 1648 of file FTps.hpp.
References begin(), end(), EXACT, FTpsData< N >::getExponents(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), itsRep, and orderStart().
Referenced by FTpsRep< T, N >::FTps< T, N >.
Scale monomial coefficients by coefficients in [b]y[/b].
Definition at line 589 of file FTps.hpp.
References begin(), begin(), end(), FTps(), getMaxOrder(), FVps< T, N >::getMaxOrder(), getMinOrder(), FVps< T, N >::getMinOrder(), getTruncOrder(), and FVps< T, N >::getTruncOrder().
| void FTps< T, N >::setCoefficient | ( | const FMonomial< N > & | monomial, |
| const T & | value ) |
Set coefficient.
Definition at line 268 of file FTps.hpp.
References FTpsData< N >::getIndex(), and setCoefficient().
| void FTps< T, N >::setCoefficient | ( | int | index, |
| const T & | value ) |
Set coefficient.
Definition at line 236 of file FTps.hpp.
References EXACT, FTpsData< N >::getOrder(), grow(), itsRep, FVps< T, N >::setMaxOrder(), FVps< T, N >::setMinOrder(), and unique().
Referenced by setCoefficient().
|
static |
Set the global truncation order.
Definition at line 419 of file FTps.hpp.
References EXACT, globalTruncOrder, and FTpsData< N >::setup().
Referenced by opalMain().
| void FTps< T, N >::setMaxOrder | ( | int | order | ) |
| void FTps< T, N >::setMinOrder | ( | int | order | ) |
Set minimum order.
Definition at line 321 of file FTps.hpp.
References EXACT, globalTruncOrder, grow(), itsRep, and unique().
Referenced by FVps< T, N >::operator*(), and taylor().
| void FTps< T, N >::setTruncOrder | ( | int | order | ) |
Set truncation order.
Definition at line 393 of file FTps.hpp.
References EXACT, globalTruncOrder, grow(), itsRep, and unique().
Referenced by Tracker::buildMultipoleVectorPotential(), Tracker::buildMultipoleVectorPotential2D(), Tracker::buildSBendVectorPotential(), Tracker::buildSBendVectorPotential2D(), ExpMap(), ExpMap(), and taylor().
| FTps< T, N > FTps< T, N >::substitute | ( | const FMatrix< T, N, N > & | M | ) | const |
Substitute.
Definition at line 1302 of file FTps.hpp.
References FTps(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), and FVps< T, N >::substitute().
| FTps< T, N > FTps< T, N >::substitute | ( | const FMatrix< T, N, N > & | M, |
| int | n ) const |
Substitute.
Definition at line 1075 of file FTps.hpp.
References begin(), begin(), end(), FTps(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FTpsData< N >::getProductArray(), getSize(), FVps< T, N >::getTruncOrder(), FTpsData< N >::getVariableList(), globalTruncOrder, orderEnd(), orderStart(), and prod().
| FTps< T, N > FTps< T, N >::substitute | ( | const FMatrix< T, N, N > & | M, |
| int | nl, | ||
| int | nh ) const |
Substitute.
Definition at line 1174 of file FTps.hpp.
References begin(), begin(), end(), end(), FTps(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FTpsData< N >::getProductArray(), getSize(), FVps< T, N >::getTruncOrder(), FTpsData< N >::getVariableList(), globalTruncOrder, orderEnd(), orderStart(), and prod().
| FTps< T, N > FTps< T, N >::substitute | ( | const FVps< T, N > & | m, |
| int | trunc = EXACT ) const |
Substitute.
Definition at line 1308 of file FTps.hpp.
References begin(), EXACT, FTps(), FVps< T, N >::getMaxOrder(), FVps< T, N >::getMinOrder(), FVps< T, N >::getSubstOrders(), FTpsData< N >::getVariableList(), globalTruncOrder, orderEnd(), and orderStart().
Truncate.
Definition at line 475 of file FTps.hpp.
References FVps< T, N >::filter(), and FTps().
|
inline |
Make representation unique.
Definition at line 1505 of file FTps.hpp.
References allocate(), FTpsRep< T, N >::begin(), FTpsRep< T, N >::end(), itsRep, and FTpsRep< T, N >::ref.
Referenced by operator*=(), operator+=(), operator-=(), operator[](), operator[](), setCoefficient(), setMaxOrder(), setMinOrder(), setTruncOrder(), and taylor().
|
static |
Representation of infinite precision.
Definition at line 383 of file FTps.h.
Referenced by allocate(), checkOrders(), cos(), cosh(), derivative(), divide(), erf(), exp(), ExpMap(), ExpMap(), FVps< double, 6 >::filter(), FTps(), FTps(), FTps(), FTpsRep< T, N >::FTpsRep(), get(), getSubstOrders(), FVps< double, 6 >::getSubstOrders(), integral(), FVps< T, N >::inverse(), FVps< double, 6 >::inverse(), log(), makeMonomial(), makeMonomial(), makeVariable(), makeVarPower(), multiply(), multiplyVariable(), FVps< T, N >::myInverse(), FVps< double, 6 >::myInverse(), operator=(), PoissonBracket(), put(), setCoefficient(), setGlobalTruncOrder(), setMaxOrder(), setMinOrder(), setTruncOrder(), sin(), sinh(), sqrt(), substitute(), FVps< T, N >::substitute(), and FVps< double, 6 >::substitute().
Definition at line 409 of file FTps.h.
Referenced by allocate(), and deallocate().
|
staticprivate |
Definition at line 412 of file FTps.h.
Referenced by checkOrders(), divide(), integral(), inverse(), makePower(), setGlobalTruncOrder(), setMaxOrder(), setMinOrder(), setTruncOrder(), substitute(), substitute(), and substitute().
Definition at line 405 of file FTps.h.
Referenced by divide(), filter(), FTps(), FTps(), FTps(), FTps(), FTps(), get(), getCoefficient(), getRepOrders(), grow(), inverse(), multiply(), operator+=(), operator-=(), operator=(), operator=(), operator==(), operator[](), operator[](), operator[](), operator[](), put(), setCoefficient(), setMaxOrder(), setMinOrder(), setTruncOrder(), taylor(), unique(), and ~FTps().