You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current implementation, the output types of some operations such as * are inconsistent.
julia>RotX(1) *RotYZX(1,2,3)
3×3 RotMatrix3{Float64} with indices SOneTo(3)×SOneTo(3):-0.2248450.605127-0.7637180.1966330.7958410.5726890.954348-0.0214059-0.297929
julia>MRP(1,2,3) *QuatRotation(1,2,3,4)
3×3 RotMatrix3{Float64} with indices SOneTo(3)×SOneTo(3):0.0325926-0.5149630.8565930.9925930.1170370.0325926-0.1170370.8491850.514963
julia>MRP(1,2,3) *MRP(2,3,4)
3×3 MRP{Float64} with indices SOneTo(3)×SOneTo(3)(-0.152589, -0.247956, -0.376022):-0.07950620.975486-0.205195-0.572840.1237530.8102720.8158020.1819650.548958
julia>RotX(1) *AngleAxis(1,2,3,4.0)
3×3 RotMatrix3{Float64} with indices SOneTo(3)×SOneTo(3):0.603709-0.5299190.5955850.676841-0.0540276-0.7341440.4212150.8463250.326054
julia>AngleAxis(1,2,3,4.0) *AngleAxis(1,2,3,4.0)
3×3 QuatRotation{Float64} with indices SOneTo(3)×SOneTo(3)(QuaternionF64(0.540302, 0.312514, 0.468772, 0.625029)):-0.220816-0.3824130.8972180.9684050.0233470.248287-0.1158960.9236960.365176
The following is a full list of return types of *.
RotMatrix3 is the most used return type, but I think this should be QuatRotation because it is more efficient.
However, I am not sure we would like to have *(::RotMatrix, ::RodriguesVec) is RotMatrix or QuatRotation. (x-ref: #190)
This issue is not just about the multiplication *, but also includes other operations such as /, ^, sqrt(#234) etc.
The text was updated successfully, but these errors were encountered:
With the current implementation, the output types of some operations such as
*
are inconsistent.The following is a full list of return types of
*
.RotMatrix3
is the most used return type, but I think this should beQuatRotation
because it is more efficient.However, I am not sure we would like to have
*(::RotMatrix, ::RodriguesVec)
isRotMatrix
orQuatRotation
. (x-ref: #190)This issue is not just about the multiplication
*
, but also includes other operations such as/
,^
,sqrt
(#234) etc.The text was updated successfully, but these errors were encountered: