SpinState Structure

Represents the state of a spinor.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public struct SpinState : IEquatable<SpinState>
Inheritance
Object    ValueType    SpinState
Implements
IEquatableSpinState

Constructors

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.

Properties

J Gets the spin value of the spin state.
M Gets the magnetic substate value of the spin state.
Representation Gets the spinor representation to which the spin state belongs.

Methods

Equals(Object) Determines whether the given object represents the same spin state.
(Overrides ValueTypeEquals(Object))
Equals(SpinState) Tests whether another instance equals the current instance.
GetHashCode Computes a hash function for the spin state.
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToString Produces a string representation of the spin state.
(Overrides ValueTypeToString)

Operators

Equality(SpinState, SpinState) Determines whether two spin states are equal.
Inequality(SpinState, SpinState) Determines whether two spin states are unequal.

See Also