[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

details WignerMatrix< Real > Class Template Reference VIGRA

computation of Wigner D matrix + rotation functions in SH,VH and R³ More...

#include <vigra/wigner-matrix.hxx>

List of all members.

Public Member Functions

void compute_D (int band)
 Compute D with fixed theta = pi/2, phi=0, psi=0.
void compute_D (int l, Real phi, Real theta, Real psi)
 Compute D for arbitrary rotations.
Complex get_D (int l, int n, int m) const
 Get the (n,m) entry of D.
Matrix< Complex > const & get_D (int l) const
 Return the rotation matrix D for the lth band.
void rotatePH (NestedArray const &PH, Real phi, Real theta, Real psi, NestedArray &PHresult)
 Rotate in PH.
 WignerMatrix (int l_max)
 constructor

Detailed Description

template<class Real>
class vigra::WignerMatrix< Real >

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!!!


Constructor & Destructor Documentation

WignerMatrix ( int  l_max)

constructor

Parameters:
l_maxmaximum expansion band (used to pre-compute the D matrix)

Member Function Documentation

void compute_D ( int  band)

Compute D with fixed theta = pi/2, phi=0, psi=0.

Parameters:
bandexpansion 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.

Parameters:
lexpansion band
phirotation angle
thetarotation angle
psirotation angle
Complex get_D ( int  l,
int  n,
int  m 
) const

Get the (n,m) entry of D.

Parameters:
lexpansion band
n
m
Matrix<Complex> const& get_D ( int  l) const

Return the rotation matrix D for the lth band.

Parameters:
lexpansion band
void rotatePH ( NestedArray const &  PH,
Real  phi,
Real  theta,
Real  psi,
NestedArray PHresult 
)

Rotate in PH.

Parameters:
PHinput PH expansion
phirotation angle
thetarotation angle
psirotation angle
Return values:
PHresultPH expansion

The documentation for this class was generated from the following file:

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.9.0 (Tue Nov 6 2012)