mirror of
https://github.com/tgorordo/WignerSymbols.jl.git
synced 2026-06-05 15:42:15 -07:00
export HalfInteger
This commit is contained in:
parent
088c52e1fb
commit
65e3f34649
2 changed files with 2 additions and 3 deletions
|
|
@ -27,8 +27,7 @@ While the following function signatures are probably self-explanatory, you can q
|
||||||
* `δ(j₁, j₂, j₃) -> ::Bool`
|
* `δ(j₁, j₂, j₃) -> ::Bool`
|
||||||
* `Δ(T::Type{<:AbstractFloat} = Float64, j₁, j₂, j₃) -> ::T`
|
* `Δ(T::Type{<:AbstractFloat} = Float64, j₁, j₂, j₃) -> ::T`
|
||||||
|
|
||||||
The package also defines the `HalfInteger` type that can be used to represent half-integer values.
|
The package also defines the `HalfInteger` type that can be used to represent half-integer values. Construct if as `HalfInteger(a::Real)` or `HalfInteger(numerator::Integer, denominator::Integer)`. Furthermore, the range operator `a:b` can be used to create ranges of `HalfInteger` values (a `HalfIntegerRange`).
|
||||||
Furthermore, the range operator `a:b` can be used to create ranges of `HalfInteger` values (a `HalfIntegerRange`).
|
|
||||||
|
|
||||||
## Implementation
|
## Implementation
|
||||||
Largely based on reading the paper (but not the code):
|
Largely based on reading the paper (but not the code):
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
__precompile__(true)
|
__precompile__(true)
|
||||||
module WignerSymbols
|
module WignerSymbols
|
||||||
export δ, Δ, clebschgordan, wigner3j, wigner6j, racahV, racahW
|
export δ, Δ, clebschgordan, wigner3j, wigner6j, racahV, racahW, HalfInteger
|
||||||
|
|
||||||
using Base.GMP.MPZ
|
using Base.GMP.MPZ
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue