We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
principal_value(::RotXYX)
julia> using Rotations julia> principal_value(RotXYX(0.1,0,-0.1)) 3×3 RotXYX{Float64} with indices SOneTo(3)×SOneTo(3)(0.1, 0.0, -0.1): 1.0 -0.0 0.0 0.0 1.0 0.0 -0.0 0.0 1.0 julia> principal_value(RotXYX(0.1,0,-0.1)) == RotXYX(0,0,0) true
This is because the principal_value method makes sure that the angles are between -π and π. (https://github.com/JuliaGeometry/Rotations.jl/blob/v1.0.4/src/principal_value.jl#L82)
principal_value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is because the
principal_value
method makes sure that the angles are between -π and π. (https://github.com/JuliaGeometry/Rotations.jl/blob/v1.0.4/src/principal_value.jl#L82)The text was updated successfully, but these errors were encountered: