diff --git a/README.md b/README.md index 3a4477a..06ad68f 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,7 @@ While the following function signatures are probably self-explanatory, you can q * `δ(j₁, j₂, j₃) -> ::Bool` * `Δ(T::Type{<:AbstractFloat} = Float64, j₁, j₂, j₃) -> ::T` -The package also defines the `HalfInteger` type that can be used to represent half-integer values. -Furthermore, the range operator `a:b` can be used to create ranges of `HalfInteger` values (a `HalfIntegerRange`). +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`). ## Implementation Largely based on reading the paper (but not the code): diff --git a/src/WignerSymbols.jl b/src/WignerSymbols.jl index 6db64dc..eeb6d3b 100644 --- a/src/WignerSymbols.jl +++ b/src/WignerSymbols.jl @@ -1,6 +1,6 @@ __precompile__(true) module WignerSymbols -export δ, Δ, clebschgordan, wigner3j, wigner6j, racahV, racahW +export δ, Δ, clebschgordan, wigner3j, wigner6j, racahV, racahW, HalfInteger using Base.GMP.MPZ