We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21c4a22 commit 37d80d7Copy full SHA for 37d80d7
1 file changed
test/inv_rotations.jl
@@ -53,5 +53,27 @@
53
54
eaie = inv(ea)
55
@test eai ≈ eaie
56
+
57
+ # == Classical Rodrigues Parameters (CRP) ==========================================
58
59
+ # Create random CRP.
60
+ c = rand(CRP{T})
61
62
+ ci = inv_rotation(c)
63
+ @test eltype(ci) === T
64
65
+ cie = inv(c)
66
+ @test ci ≈ cie
67
68
+ # == Modified Rodrigues Parameters (MRP) ===========================================
69
70
+ # Create random MRP.
71
+ m = rand(MRP{T})
72
73
+ mi = inv_rotation(m)
74
+ @test eltype(mi) === T
75
76
+ mie = inv(m)
77
+ @test mi ≈ mie
78
end
79
0 commit comments