OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Classes | Functions
FTps.h File Reference
#include "FixedAlgebra/FTpsData.h"
#include <iosfwd>
#include <list>
#include <string>
#include "FixedAlgebra/FVps.h"
#include "FixedAlgebra/FTps.hpp"
Include dependency graph for FTps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FTps< T, N >
 Truncated power series in N variables of type T. More...
 

Functions

template<class T , int N>
FTps< T, N > operator+ (const FTps< T, N > &, const FTps< T, N > &)
 Add. More...
 
template<class T , int N>
FTps< T, N > operator- (const FTps< T, N > &, const FTps< T, N > &)
 Subtract. More...
 
template<class T , int N>
FTps< T, N > operator+ (const FTps< T, N > &, const T &)
 Add. More...
 
template<class T , int N>
FTps< T, N > operator- (const FTps< T, N > &, const T &)
 Subtract. More...
 
template<class T , int N>
FTps< T, N > operator+ (const T &, const FTps< T, N > &)
 Add. More...
 
template<class T , int N>
FTps< T, N > operator- (const T &, const FTps< T, N > &)
 Subtract. More...
 
template<class T , int N>
FTps< T, N > operator* (const FTps< T, N > &, const FTps< T, N > &)
 Multiply. More...
 
template<class T , int N>
FTps< T, N > operator/ (const FTps< T, N > &, const FTps< T, N > &)
 Divide. More...
 
template<class T , int N>
FTps< T, N > operator* (const FTps< T, N > &, const T &)
 Multiply. More...
 
template<class T , int N>
FTps< T, N > operator/ (const FTps< T, N > &, const T &)
 Divide. More...
 
template<class T , int N>
FTps< T, N > operator* (const T &, const FTps< T, N > &)
 Multiply. More...
 
template<class T , int N>
FTps< T, N > operator/ (const T &, const FTps< T, N > &)
 Divide. More...
 
template<class T , int N>
bool operator== (const T &, const FTps< T, N > &)
 Equality. More...
 
template<class T , int N>
bool operator!= (const T &, const FTps< T, N > &)
 Inequality. More...
 
template<class T , int N>
FVps< T, N > ExpMap (const FTps< T, N > &H, int trunc=FTps< T, N >::EXACT)
 Build the exponential series. More...
 
template<class T , int N>
FTps< T, N > ExpMap (const FTps< T, N > &H, const FTps< T, N > &f, int trunc=FTps< T, N >::EXACT)
 Build the exponential series. More...
 
template<class T , int N>
FTps< T, N > PoissonBracket (const FTps< T, N > &f, const FTps< T, N > &g, int trunc=FTps< T, N >::EXACT)
 Poisson bracket. More...
 
template<class T , int N>
std::istream & operator>> (std::istream &is, FTps< T, N > &)
 Extract FTps from stream [b]is[/b]. More...
 
template<class T , int N>
std::ostream & operator<< (std::ostream &os, const FTps< T, N > &)
 Insert FTps into stream [b]os[/b]. More...
 

Function Documentation

◆ ExpMap() [1/2]

template<class T , int N>
FTps< T, N > ExpMap ( const FTps< T, N > &  H,
const FTps< T, N > &  f,
int  trunc = FTps< T, N >::EXACT 
)

Build the exponential series.

Definition at line 2000 of file FTps.hpp.

References FTps< T, N >::derivative(), endl(), FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), FTps< T, N >::setTruncOrder(), and Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ ExpMap() [2/2]

template<class T , int N>
FVps< T, N > ExpMap ( const FTps< T, N > &  H,
int  trunc = FTps< T, N >::EXACT 
)

Build the exponential series.

Definition at line 1994 of file FTps.hpp.

References ExpMap().

Referenced by ExpMap(), MapGenerator< Value_type, Size_type, Series_type, Map_type, Hamiltonian_type, Space_charge_type >::generateMap(), and ThickTracker::track_m().

Here is the call graph for this function:

◆ operator!=()

template<class T , int N>
bool operator!= ( const T &  lhs,
const FTps< T, N > &  rhs 
)

Inequality.

Definition at line 1988 of file FTps.hpp.

◆ operator*() [1/3]

template<class T , int N>
FTps< T, N > operator* ( const FTps< T, N > &  lhs,
const FTps< T, N > &  rhs 
)

Multiply.

Definition at line 1942 of file FTps.hpp.

References FTps< T, N >::multiply().

Here is the call graph for this function:

◆ operator*() [2/3]

template<class T , int N>
FTps< T, N > operator* ( const FTps< T, N > &  lhs,
const T &  rhs 
)

Multiply.

Definition at line 1955 of file FTps.hpp.

◆ operator*() [3/3]

template<class T , int N>
FTps< T, N > operator* ( const T &  lhs,
const FTps< T, N > &  rhs 
)

Multiply.

Definition at line 1969 of file FTps.hpp.

◆ operator+() [1/3]

template<class T , int N>
FTps< T, N > operator+ ( const FTps< T, N > &  lhs,
const FTps< T, N > &  rhs 
)

◆ operator+() [2/3]

template<class T , int N>
FTps< T, N > operator+ ( const FTps< T, N > &  lhs,
const T &  rhs 
)

Add.

Definition at line 1914 of file FTps.hpp.

◆ operator+() [3/3]

template<class T , int N>
FTps< T, N > operator+ ( const T &  lhs,
const FTps< T, N > &  rhs 
)

Add.

Definition at line 1928 of file FTps.hpp.

◆ operator-() [1/3]

template<class T , int N>
FTps< T, N > operator- ( const FTps< T, N > &  lhs,
const FTps< T, N > &  rhs 
)

◆ operator-() [2/3]

template<class T , int N>
FTps< T, N > operator- ( const FTps< T, N > &  lhs,
const T &  rhs 
)

Subtract.

Definition at line 1921 of file FTps.hpp.

◆ operator-() [3/3]

template<class T , int N>
FTps< T, N > operator- ( const T &  lhs,
const FTps< T, N > &  rhs 
)

Subtract.

Definition at line 1935 of file FTps.hpp.

◆ operator/() [1/3]

template<class T , int N>
FTps< T, N > operator/ ( const FTps< T, N > &  lhs,
const FTps< T, N > &  rhs 
)

Divide.

Definition at line 1949 of file FTps.hpp.

References FTps< T, N >::divide().

Here is the call graph for this function:

◆ operator/() [2/3]

template<class T , int N>
FTps< T, N > operator/ ( const FTps< T, N > &  lhs,
const T &  rhs 
)

Divide.

Definition at line 1962 of file FTps.hpp.

◆ operator/() [3/3]

template<class T , int N>
FTps< T, N > operator/ ( const T &  lhs,
const FTps< T, N > &  rhs 
)

Divide.

Definition at line 1976 of file FTps.hpp.

References FTps< T, N >::inverse().

Here is the call graph for this function:

◆ operator<<()

template<class T , int N>
std::ostream & operator<< ( std::ostream &  os,
const FTps< T, N > &  tps 
)

Insert FTps into stream [b]os[/b].

Definition at line 2098 of file FTps.hpp.

◆ operator==()

template<class T , int N>
bool operator== ( const T &  lhs,
const FTps< T, N > &  rhs 
)

Equality.

Definition at line 1982 of file FTps.hpp.

◆ operator>>()

template<class T , int N>
std::istream & operator>> ( std::istream &  is,
FTps< T, N > &  tps 
)

Extract FTps from stream [b]is[/b].

Definition at line 2092 of file FTps.hpp.

References FTps< T, N >::get().

Here is the call graph for this function:

◆ PoissonBracket()

template<class T , int N>
FTps< T, N > PoissonBracket ( const FTps< T, N > &  f,
const FTps< T, N > &  g,
int  trunc = FTps< T, N >::EXACT 
)

Poisson bracket.

Definition at line 2058 of file FTps.hpp.