[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
WignerMatrix< Real > Class Template Reference |
computation of Wigner D matrix + rotation functions in SH,VH and R³ More...
#include <vigra/wigner-matrix.hxx>
Public Member Functions | |
void | compute_D (int band) |
Compute D with fixed theta = pi/2, phi=0, psi=0. More... | |
void | compute_D (int l, Real phi, Real theta, Real psi) |
Compute D for arbitrary rotations. More... | |
Complex | get_D (int l, int n, int m) const |
Get the (n,m) entry of D. More... | |
Matrix< Complex > const & | get_D (int l) const |
Return the rotation matrix D for the lth band. More... | |
void | rotatePH (NestedArray const &PH, Real phi, Real theta, Real psi, NestedArray &PHresult) |
Rotate in PH. More... | |
WignerMatrix (int l_max) | |
constructor More... | |
computation of Wigner D matrix + rotation functions in SH,VH and R³
All rotations in Euler zyz' convention
WARNING: not thread safe! use a new instance of WignerMatrix for each thread!!!
WignerMatrix | ( | int | l_max | ) |
constructor
l_max | maximum expansion band (used to pre-compute the D matrix) |
void compute_D | ( | int | band | ) |
Compute D with fixed theta = pi/2, phi=0, psi=0.
band | expansion band |
FIXME: compute_D(l, 0.0, M_PI / 2.0, 0.0) creates the transposed matrix!
void compute_D | ( | int | l, |
Real | phi, | ||
Real | theta, | ||
Real | psi | ||
) |
Compute D for arbitrary rotations.
l | expansion band |
phi | rotation angle |
theta | rotation angle |
psi | rotation angle |
Complex get_D | ( | int | l, |
int | n, | ||
int | m | ||
) | const |
Get the (n,m) entry of D.
l | expansion band |
n | |
m |
Matrix<Complex> const& get_D | ( | int | l | ) | const |
Return the rotation matrix D for the lth band.
l | expansion band |
void rotatePH | ( | NestedArray const & | PH, |
Real | phi, | ||
Real | theta, | ||
Real | psi, | ||
NestedArray & | PHresult | ||
) |
Rotate in PH.
PH | input PH expansion |
phi | rotation angle |
theta | rotation angle |
psi | rotation angle |
PHresult | PH expansion |
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|