OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Taylor.h File Reference
Include dependency graph for Taylor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Taylor< T >
 A representation for a Taylor series in one variable,. More...

Functions

template<class T>
Taylor< T > operator+ (const Taylor< T > &, const Taylor< T > &)
 Add.
template<class T>
Taylor< T > operator- (const Taylor< T > &, const Taylor< T > &)
 Subtract.
template<class T>
Taylor< T > operator* (const Taylor< T > &, double)
 Multiply by scalar.
template<class T>
Taylor< T > operator* (double, const Taylor< T > &)
 Multiply by scalar.
template<class T>
Taylor< T > operator/ (const Taylor< T > &, double)
 Divide by scalar.
template<class T>
Taylor< T > PoissonBracket (const Taylor< T > &, const Taylor< T > &)
 Poisson bracket of two Taylor seriess.
template<class T>
std::ostream & operator<< (std::ostream &, const Taylor< T > &)
 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: