|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include "FixedAlgebra/FLieGenerator.h"#include "Algebra/Array1D.h"#include "FixedAlgebra/FArray1D.h"#include "FixedAlgebra/FMatrix.h"#include "FixedAlgebra/FMonomial.h"#include "FixedAlgebra/FTps.h"#include <complex>#include <iosfwd>#include <functional>Go to the source code of this file.
Functions | |
| template<class T, int N> | |
| FLieGenerator< T, N > | operator+ (const FLieGenerator< T, N > &x, const FLieGenerator< T, N > &y) |
| Add. | |
| template<class T, int N> | |
| FLieGenerator< T, N > | operator- (const FLieGenerator< T, N > &x, const FLieGenerator< T, N > &y) |
| Subtract. | |
| template<class T, int N> | |
| FLieGenerator< T, N > | operator* (const FLieGenerator< T, N > &x, const T &y) |
| Multiply by scalar. | |
| template<class T, int N> | |
| FLieGenerator< T, N > | operator* (const T &x, const FLieGenerator< T, N > &y) |
| Multiply by scalar. | |
| template<class T, int N> | |
| FLieGenerator< T, N > | operator* (const FLieGenerator< T, N > &x, const FLieGenerator< T, N > &y) |
| Multiply by Lie generator. | |
| template<class T, int N> | |
| FLieGenerator< T, N > | operator/ (const FLieGenerator< T, N > &x, const T &y) |
| Divide by scalar. | |
| template<class T, int N> | |
| FLieGenerator< T, N > | real (const FLieGenerator< std::complex< T >, N > &x) |
| Take real part of a complex generator. | |
| template<class T, int N> | |
| FLieGenerator< T, N > | imag (const FLieGenerator< std::complex< T >, N > &x) |
| Take imaginary part of a complex generator. | |
| template<class T, int N> | |
| FLieGenerator< std::complex< T >, N > | toComplex (const FLieGenerator< T, N > &x) |
| Convert real generator to complex. | |
| 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. | |
| template<class T, int N> | |
| std::ostream & | operator<< (std::ostream &os, const FLieGenerator< T, N > &gen) |
| Output. | |
| FLieGenerator< T, N > imag | ( | const FLieGenerator< std::complex< T >, N > & | x | ) |
Take imaginary part of a complex generator.
Definition at line 437 of file FLieGenerator.hpp.
References FLieGenerator< T, N >::begin(), and FLieGenerator< T, N >::end().
Referenced by MapAnalyser::normalizeEigen_m(), and PETE_DefineUnary().
| FLieGenerator< T, N > operator* | ( | const FLieGenerator< T, N > & | x, |
| const FLieGenerator< T, N > & | y ) |
Multiply by Lie generator.
Definition at line 384 of file FLieGenerator.hpp.
References FLieGenerator< T, N >::getBottomIndex(), FLieGenerator< T, N >::getOrder(), FTpsData< N >::getProductArray(), FLieGenerator< T, N >::getTopIndex(), and FLieGenerator< T, N >::isZero().
| FLieGenerator< T, N > operator* | ( | const FLieGenerator< T, N > & | x, |
| const T & | y ) |
Multiply by scalar.
Definition at line 368 of file FLieGenerator.hpp.
| FLieGenerator< T, N > operator* | ( | const T & | x, |
| const FLieGenerator< T, N > & | y ) |
Multiply by scalar.
Definition at line 376 of file FLieGenerator.hpp.
| FLieGenerator< T, N > operator+ | ( | const FLieGenerator< T, N > & | x, |
| const FLieGenerator< T, N > & | y ) |
Add.
Definition at line 352 of file FLieGenerator.hpp.
| FLieGenerator< T, N > operator- | ( | const FLieGenerator< T, N > & | x, |
| const FLieGenerator< T, N > & | y ) |
Subtract.
Definition at line 360 of file FLieGenerator.hpp.
| FLieGenerator< T, N > operator/ | ( | const FLieGenerator< T, N > & | x, |
| const T & | y ) |
Divide by scalar.
Definition at line 414 of file FLieGenerator.hpp.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const FLieGenerator< T, N > & | gen ) |
Output.
Definition at line 515 of file FLieGenerator.hpp.
References FLieGenerator< T, N >::getBottomIndex(), FTpsData< N >::getExponents(), FLieGenerator< T, N >::getOrder(), and FLieGenerator< T, N >::getTopIndex().
| 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.
References FLieGenerator< T, N >::begin(), FLieGenerator< T, N >::getBottomIndex(), FTpsData< N >::getExponents(), FLieGenerator< T, N >::getOrder(), FTpsData< N >::getProductArray(), and FLieGenerator< T, N >::isZero().
| FLieGenerator< T, N > real | ( | const FLieGenerator< std::complex< T >, N > & | x | ) |
Take real part of a complex generator.
Definition at line 422 of file FLieGenerator.hpp.
References FLieGenerator< T, N >::begin(), and FLieGenerator< T, N >::end().
Referenced by FixedFFTLowPassFilter::apply(), RelativeFFTLowPassFilter::apply(), FixedFFTLowPassFilter::calc_derivative(), RelativeFFTLowPassFilter::calc_derivative(), GreenWakeFunction::CalcWakeFFT(), Util::checkInt(), GreenWakeFunction::compEnergy(), GreenWakeFunction::compEnergy(), interpolation::complex(), interpolation::complex(), interpolation::complex(), interpolation::complex(), _Astra1D_fast::computeFourierCoefficients(), convlv(), Attributes::getStringArray(), matheval::detail::grammar< real_t, Iterator >::grammar(), GreenWakeFunction::Wake::operator()(), interpolation::operator-=(), interpolation::operator/(), MapAnalyser::printPhaseShift_m(), _Astra1DDynamic::readMap(), _Astra1DElectroStatic::readMap(), _Astra1DMagnetoStatic::readMap(), real(), and GreenWakeFunction::setWakeFromFile().
| 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(), and FLieGenerator< T, N >::getOrder().