IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Represents a spinor. More...
Public Member Functions | |
Spin (double j) | |
Instantiates a new spinor. More... | |
SpinState[] | States () |
Returns the set of spinor states. More... | |
override bool | Equals (object obj) |
Determines whether the given object represents the same spinor. More... | |
override int | GetHashCode () |
Computes a hash function for the spinor. More... | |
override string | ToString () |
Produces a string representation of the spinor. More... | |
Static Public Member Functions | |
static bool | operator== (Spin a, Spin b) |
Determines whether two spinors are equal. More... | |
static bool | operator!= (Spin a, Spin b) |
Determines whether two spinors are unequal. More... | |
Properties | |
double | J [get] |
Gets the spin of the spinor. More... | |
static Spin | SpinZero [get] |
Gets a spin-0 spinor. More... | |
static Spin | SpinOneHalf [get] |
Gets a spin-1/2 spinor. More... | |
static Spin | SpinOne [get] |
Gets a spin-1 spinor. More... | |
int | Dimension [get] |
Gets the dimension of the spinor. More... | |
Static Private Member Functions | |
static bool | Equals (Spin a, Spin b) |
Private Attributes | |
int | twoJ |
Represents a spinor.
From a physicist's point of view, a spinor is an object with a particular quantum-mechanical spin. The quantum state of such an object is represented by a SpinState object.
From a mathematician's point of view, a spinor labels an irreducible representation of the SO(3) or SU(2) Lie group. Individual vectors within each irreducible representation are represented by SpinState objects.
|
inline |
Instantiates a new spinor.
j | The spin, which must be an integer or half-integer. |
|
inline |
Returns the set of spinor states.
Referenced by Test.SpinTest.ClebschGordonOrthonormalityJM(), and Test.SpinTest.SpinEquality().
Determines whether two spinors are equal.
a | The first spin. |
b | The second spin. |
Determines whether two spinors are unequal.
a | The first spin. |
b | The second spin. |
|
inline |
Determines whether the given object represents the same spinor.
obj | The object to compare. |
|
inline |
Computes a hash function for the spinor.
|
inline |
Produces a string representation of the spinor.
Referenced by Meta.Numerics.Spin.SpinState.ToString().
|
private |
|
get |
Gets the spin of the spinor.
Referenced by Test.SpinTest.AllSpinsInRange(), Test.SpinTest.ClebschGordonOrthonormalityMM(), Test.SpinTest.CombinedSpinRange(), Test.SpinTest.GenerateCombinedSpins(), Test.SpinTest.GenerateRandomCombinedSpins(), Test.SpinTest.GenerateRandomSpinStates(), Test.SpinTest.RandomSpinsInRange(), Test.SpinTest.SixJOrthonormality(), Test.SpinTest.SixJProductSum(), Test.SpinTest.SixJReggeSymmetry(), and Test.SpinTest.SixJSum().
|
staticget |
Gets a spin-0 spinor.
Referenced by Test.SpinTest.SixJSpecialCase(), and Test.SpinTest.SpinEquality().
|
staticget |
Gets a spin-1/2 spinor.
Referenced by Test.SpinTest.SixJSpecialCase().
|
staticget |
Gets a spin-1 spinor.
Referenced by Test.SpinTest.SixJZeroMinimum(), and Test.SpinTest.SpinEquality().
|
get |
Gets the dimension of the spinor.
Referenced by Test.SpinTest.SpinEquality().