OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Classes | Functions
FLieGenerator.h File Reference
#include "Algebra/Array1D.h"
#include <complex>
#include "FixedAlgebra/FLieGenerator.hpp"
Include dependency graph for FLieGenerator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FLieGenerator< T, N >
 A representation for a homogeneous polynomial, used as a Lie generator. More...
 

Functions

template<class T , int N>
FLieGenerator< T, N > operator+ (const FLieGenerator< T, N > &, const FLieGenerator< T, N > &)
 Add. More...
 
template<class T , int N>
FLieGenerator< T, N > operator- (const FLieGenerator< T, N > &, const FLieGenerator< T, N > &)
 Subtract. More...
 
template<class T , int N>
FLieGenerator< T, N > operator* (const FLieGenerator< T, N > &, const T &)
 Multiply by scalar. More...
 
template<class T , int N>
FLieGenerator< T, N > operator* (const T &, const FLieGenerator< T, N > &)
 Multiply by scalar. More...
 
template<class T , int N>
FLieGenerator< T, N > operator* (const FLieGenerator< T, N > &, const FLieGenerator< T, N > &)
 Multiply by Lie generator. More...
 
template<class T , int N>
FLieGenerator< T, N > operator/ (const FLieGenerator< T, N > &, const T &)
 Divide by scalar. More...
 
template<class T , int N>
FLieGenerator< T, N > real (const FLieGenerator< std::complex< T >, N > &)
 Take real part of a complex generator. More...
 
template<class T , int N>
FLieGenerator< T, N > imag (const FLieGenerator< std::complex< T >, N > &)
 Take imaginary part of a complex generator. More...
 
template<class T , int N>
FLieGenerator< std::complex< T >, N > toComplex (const FLieGenerator< T, N > &)
 Convert real generator to complex. More...
 
template<class T , int N>
FLieGenerator< T, N > PoissonBracket (const FLieGenerator< T, N > &, const FLieGenerator< T, N > &)
 Poisson bracket of two Lie generators. More...
 
template<class T , int N>
std::ostream & operator<< (std::ostream &, const FLieGenerator< T, N > &)
 Output. More...
 

Function Documentation

◆ imag()

template<class T , int N>
FLieGenerator<T, N> imag ( const FLieGenerator< std::complex< T >, N > &  x)

◆ operator*() [1/3]

template<class T , int N>
FLieGenerator<T, N> operator* ( const FLieGenerator< T, N > &  x,
const FLieGenerator< T, N > &  y 
)

◆ operator*() [2/3]

template<class T , int N>
FLieGenerator<T, N> operator* ( const FLieGenerator< T, N > &  x,
const T &  y 
)

Multiply by scalar.

Definition at line 368 of file FLieGenerator.hpp.

◆ operator*() [3/3]

template<class T , int N>
FLieGenerator<T, N> operator* ( const T &  x,
const FLieGenerator< T, N > &  y 
)

Multiply by scalar.

Definition at line 376 of file FLieGenerator.hpp.

◆ operator+()

template<class T , int N>
FLieGenerator<T, N> operator+ ( const FLieGenerator< T, N > &  x,
const FLieGenerator< T, N > &  y 
)

Add.

Definition at line 352 of file FLieGenerator.hpp.

◆ operator-()

template<class T , int N>
FLieGenerator<T, N> operator- ( const FLieGenerator< T, N > &  x,
const FLieGenerator< T, N > &  y 
)

Subtract.

Definition at line 360 of file FLieGenerator.hpp.

◆ operator/()

template<class T , int N>
FLieGenerator<T, N> operator/ ( const FLieGenerator< T, N > &  x,
const T &  y 
)

Divide by scalar.

Definition at line 414 of file FLieGenerator.hpp.

◆ operator<<()

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

◆ PoissonBracket()

template<class T , int N>
FLieGenerator<T, N> PoissonBracket ( const FLieGenerator< T, N > &  f,
const FLieGenerator< T, N > &  g 
)

Poisson bracket of two Lie generators.

Definition at line 466 of file FLieGenerator.hpp.

◆ real()

template<class T , int N>
FLieGenerator<T, N> real ( const FLieGenerator< std::complex< T >, N > &  x)

◆ toComplex()

template<class T , int N>
FLieGenerator<std::complex<T>, N> toComplex ( const FLieGenerator< T, N > &  x)

Convert real generator to complex.

Definition at line 452 of file FLieGenerator.hpp.

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

Here is the call graph for this function: