OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Functions
Taylor.hpp File Reference
#include <functional>
#include <numeric>
#include <iomanip>
#include "FixedAlgebra/Taylor.h"
Include dependency graph for Taylor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
Taylor< T > operator+ (const Taylor< T > &lhs, const Taylor< T > &rhs)
 Add. More...
 
template<class T >
Taylor< T > operator- (const Taylor< T > &lhs, const Taylor< T > &rhs)
 Subtract. More...
 
template<class T >
Taylor< T > operator* (const Taylor< T > &lhs, double rhs)
 Multiply by scalar. More...
 
template<class T >
Taylor< T > operator* (double lhs, const Taylor< T > &rhs)
 Multiply by scalar. More...
 
template<class T >
Taylor< T > operator/ (const Taylor< T > &lhs, double rhs)
 Divide by scalar. More...
 
template<class T >
Taylor< T > PoissonBracket (const Taylor< T > &lhs, const Taylor< T > &rhs)
 Poisson bracket of two Taylor seriess. More...
 
template<class T >
std::ostream & operator<< (std::ostream &os, const Taylor< T > &series)
 Output. More...
 

Function Documentation

◆ operator*() [1/2]

template<class T >
Taylor< T > operator* ( const Taylor< T > &  lhs,
double  rhs 
)

Multiply by scalar.

Definition at line 235 of file Taylor.hpp.

References Taylor< T >::begin(), Taylor< T >::end(), Taylor< T >::getOrder(), and Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ operator*() [2/2]

template<class T >
Taylor< T > operator* ( double  lhs,
const Taylor< T > &  rhs 
)

Multiply by scalar.

Definition at line 248 of file Taylor.hpp.

References Taylor< T >::begin(), Taylor< T >::end(), Taylor< T >::getOrder(), and Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ operator+()

template<class T >
Taylor< T > operator+ ( const Taylor< T > &  lhs,
const Taylor< T > &  rhs 
)

Add.

Definition at line 203 of file Taylor.hpp.

References Taylor< T >::begin(), Taylor< T >::end(), Taylor< T >::getOrder(), max(), and Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ operator-()

template<class T >
Taylor< T > operator- ( const Taylor< T > &  lhs,
const Taylor< T > &  rhs 
)

Subtract.

Definition at line 219 of file Taylor.hpp.

References Taylor< T >::begin(), Taylor< T >::end(), Taylor< T >::getOrder(), max(), and Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ operator/()

template<class T >
Taylor< T > operator/ ( const Taylor< T > &  lhs,
double  rhs 
)

Divide by scalar.

Definition at line 261 of file Taylor.hpp.

References Taylor< T >::begin(), Taylor< T >::end(), Taylor< T >::getOrder(), and Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ operator<<()

template<class T >
std::ostream & operator<< ( std::ostream &  os,
const Taylor< T > &  series 
)

Output.

Definition at line 290 of file Taylor.hpp.

References endl(), and Taylor< T >::getOrder().

Here is the call graph for this function:

◆ PoissonBracket()

template<class T >
Taylor< T > PoissonBracket ( const Taylor< T > &  lhs,
const Taylor< T > &  rhs 
)

Poisson bracket of two Taylor seriess.

Definition at line 274 of file Taylor.hpp.

References Taylor< T >::getOrder(), and PoissonBracket().

Referenced by PoissonBracket().

Here is the call graph for this function: