$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
#include <plbComplex.h>

Public Member Functions | |
| Complex () | |
| Complex (T Re_) | |
| Complex (T Re_, T Imag_) | |
| template<typename U > | |
| operator U () const | |
| T | real () const |
| T | imaginary () const |
| T | modulus () const |
| T | sqrModulus () const |
| Complex< T > | conjugate () const |
| T | argument () const |
| Complex< T > | intpow (int n) const |
| Complex< T > & | operator+= (Complex< T > const &rhs) |
| template<typename U > | |
| Complex< T > & | operator+= (U rhs) |
| Complex< T > & | operator-= (Complex< T > const &rhs) |
| template<typename U > | |
| Complex< T > & | operator-= (U rhs) |
| Complex< T > | operator- () const |
| Complex< T > & | operator*= (Complex< T > const &rhs) |
| template<typename U > | |
| Complex< T > & | operator*= (U rhs) |
| Complex< T > & | operator/= (Complex< T > const &rhs) |
| template<typename U > | |
| Complex< T > & | operator/= (U rhs) |
| plb::Complex< T >::Complex | ( | ) | [inline] |
| plb::Complex< T >::Complex | ( | T | Re_ | ) | [inline] |
| plb::Complex< T >::Complex | ( | T | Re_, | |
| T | Imag_ | |||
| ) | [inline] |
| T plb::Complex< T >::argument | ( | ) | const [inline] |
Referenced by plb::Complex< T >::intpow().
| Complex< T > plb::Complex< T >::conjugate | ( | ) | const [inline] |
| T plb::Complex< T >::imaginary | ( | ) | const [inline] |
Referenced by plb::operator*(), plb::operator+(), plb::operator-(), and plb::operator/().
| Complex< T > plb::Complex< T >::intpow | ( | int | n | ) | const [inline] |
References plb::Complex< T >::argument(), and plb::Complex< T >::modulus().
| T plb::Complex< T >::modulus | ( | ) | const [inline] |
References plb::Complex< T >::sqrModulus().
Referenced by plb::Complex< T >::intpow().
| Complex< T > & plb::Complex< T >::operator*= | ( | U | rhs | ) | [inline] |
| Complex< T > & plb::Complex< T >::operator*= | ( | Complex< T > const & | rhs | ) | [inline] |
| Complex< T > & plb::Complex< T >::operator+= | ( | U | rhs | ) | [inline] |
| Complex< T > & plb::Complex< T >::operator+= | ( | Complex< T > const & | rhs | ) | [inline] |
| Complex< T > plb::Complex< T >::operator- | ( | ) | const [inline] |
| Complex< T > & plb::Complex< T >::operator-= | ( | U | rhs | ) | [inline] |
| Complex< T > & plb::Complex< T >::operator-= | ( | Complex< T > const & | rhs | ) | [inline] |
| Complex< T > & plb::Complex< T >::operator/= | ( | U | rhs | ) | [inline] |
| Complex< T > & plb::Complex< T >::operator/= | ( | Complex< T > const & | rhs | ) | [inline] |
References plb::Complex< T >::sqrModulus().
| T plb::Complex< T >::real | ( | ) | const [inline] |
Referenced by plb::operator*(), plb::operator+(), plb::operator-(), and plb::operator/().
| T plb::Complex< T >::sqrModulus | ( | ) | const [inline] |
Referenced by plb::Complex< T >::modulus(), and plb::Complex< T >::operator/=().
1.6.3
1.6.3