| LibAran Reference Manual | ||||
|---|---|---|---|---|
AranWigner;
AranWigner* aran_wigner_new (gdouble beta,
gint l);
void aran_wigner_free (AranWigner *aw);
void aran_wigner_require (AranWigner *aw,
guint l);
gdouble* aran_wigner_term (AranWigner *aw,
guint l,
guint m1,
gint m2);
void aran_wigner_write (AranWigner *aw,
FILE *file);
AranWigner* aran_wigner_new (gdouble beta, gint l);
Creates a new AranWigner for angle beta.
beta : |
Rotation angle (-pi < beta < pi).
|
l : |
initial degree preallocation if positive. |
| Returns : | A Wigner D-function coefficients buffer. |
void aran_wigner_free (AranWigner *aw);
Frees all memory allocated for aw.
aw : |
an AranWigner structure. |
void aran_wigner_require (AranWigner *aw, guint l);
Ensures that aw is allocated to l degree inclusive and that coefficients
are correctly computed.
aw : |
an AranWigner structure. |
l : |
requested degree. |
gdouble* aran_wigner_term (AranWigner *aw, guint l, guint m1, gint m2);
Provides access to the corresponding term in aw.
aw : |
an AranWigner structure. |
l : |
a guint. |
m1 : |
a guint. Condition m1 <= l must hold.
|
m2 : |
a gint. Condition -l <= m2 <= l must hold.
|
| Returns : | address of the term. |
void aran_wigner_write (AranWigner *aw, FILE *file);
Writes aw to file.
aw : |
an AranWigner structure. |
file : |
output file. |