Represents the state of a spinor.
Namespace: Meta.Numerics.SpinAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public struct SpinState
Public Structure SpinState
public value class SpinState
[<SealedAttribute>] type SpinState = struct end
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| SpinState(Double, Double) |
Instantiates a new SpinState with the given spin and magnetic quantum numbers.
| |
| SpinState(Spin, Double) |
Instantiates a new SpinState with the given spin and magnetic quantum number.
| |
| Equality(SpinState, SpinState) |
Determines whether two spin states are equal.
| |
| Equals(Object) |
Determines whether the given object represents the same spin state.
(Overrides ValueType..::..Equals(Object).) | |
| Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() |
Computes a hash function for the spin state.
(Overrides ValueType..::..GetHashCode()()()().) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Inequality(SpinState, SpinState) |
Determines whether two spin states are unequal.
| |
| J |
Gets the spin value of the spin state.
| |
| M |
Gets the magnetic substate value of the spin state.
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Representation |
Gets the spinor representation to which the spin state belongs.
| |
| ToString()()()() |
Produces a string representation of the spin state.
(Overrides ValueType..::..ToString()()()().) |