-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
The DCM representation is currently an alias for SMatrix. That is nice but we could do even better if we specify properties of rotation matrices that are not implemented by a generic SMatrix. That is what Rotations.jl does with inv == transpose for example.
Maybe DCM should be a new type of StaticMatrix, and that is possible with StaticArrays.jl interface:
# inherit most basic methods like SMatrix
struct DCM{T} <: StaticArray{3,T} end
# add specific methods for rotations
inv(D::DCM) = transpose(D)
...Metadata
Metadata
Assignees
Labels
No labels