OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
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.
template<class T>
Taylor< T > operator- (const Taylor< T > &lhs, const Taylor< T > &rhs)
 Subtract.
template<class T>
Taylor< T > operator* (const Taylor< T > &lhs, double rhs)
 Multiply by scalar.
template<class T>
Taylor< T > operator* (double lhs, const Taylor< T > &rhs)
 Multiply by scalar.
template<class T>
Taylor< T > operator/ (const Taylor< T > &lhs, double rhs)
 Divide by scalar.
template<class T>
Taylor< T > PoissonBracket (const Taylor< T > &lhs, const Taylor< T > &rhs)
 Poisson bracket of two Taylor seriess.
template<class T>
std::ostream & operator<< (std::ostream &os, const Taylor< T > &series)
 Output.

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(), and Taylor< T >::getOrder().

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(), and Taylor< T >::getOrder().

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(), and Taylor< T >::getOrder().

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(), and Taylor< T >::getOrder().

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(), and Taylor< T >::getOrder().

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 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: