Yuto Horikawa

Results 195 comments of Yuto Horikawa

Could you change `AngleAxis` too? ```julia julia> using Rotations; import Unitful.° julia> RotX(30°) 3×3 RotX{Float64, Quantity{Int64, NoDims, FreeUnits{(°,), NoDims, nothing}}} with indices SOneTo(3)×SOneTo(3)(30°): 1.0 0.0 0.0 0.0 0.866025 -0.5 0.0...

>Also, while I was looking in there, I was a bit surprised to see the details of this struct: wouldn't it have been a bit more natural to group `x`,...

>Exactitude of coefficients is lost for AngleAxis, since the matrix is obtained through quaternions; this involves both angle-halving and L^2 normalization. I think we are not using quaternion here, just...

>But just three lines above your quote: Ah, I missed the line. That makes the following result. ```julia julia> aa = rand(AngleAxis) 3×3 AngleAxis{Float64} with indices SOneTo(3)×SOneTo(3)(1.78335, 0.814399, 0.0957725, -0.572347):...

>While searching for the exact Rodrigues formula I found (but did not read) a few papers bout rational approximations for rotation matrices. While that's an interesting option for when the...

Ah, it is unable to create types like `RotMatrix{3}

In what package is `Quaternionf0` defined? I'm not familiar with Makie.jl, and I couldn't find the definition in the Makie.jl repository. I think the package (which defines `Quaternionsf0`) should depend...

Okay, I found `Quaternionf` instead of `Quaternionf0`. https://github.com/JuliaPlots/Makie.jl/blob/master/src/utilities/quaternions.jl#L18 I think we would not like to have an additional method for `(x,y,z,w)`, because it is verbose. However, I understand that many...

With `[email protected]`, we can access elements of `SVector` with `.x` etc. (The PR: https://github.com/JuliaArrays/StaticArrays.jl/pull/980) ```julia julia> using StaticArrays julia> v = SVector(1,2,3,4) 4-element SVector{4, Int64} with indices SOneTo(4): 1 2...

>define `getproperty(::QuatRotation, ::Symbol)` and special case `x`, `y`,`z`, and `w`? This will be implemented in #209 and is waiting for some reviews.