We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent accfef4 commit 32bd84bCopy full SHA for 32bd84b
src/loss.jl
@@ -65,3 +65,7 @@ function so3_tangent_coordinates_stack(Rt::AbstractArray{T,3}, R1::AbstractArray
65
tangent = sqrt(T(2)) .* (theta .* axis)
66
return tangent
67
end
68
+
69
+function so3_tangent_coordinates_stack(rhat::AbstractArray{T,4}, r::AbstractArray{T,4}) where T
70
+ return reshape(so3_tangent_coordinates_stack(reshape(rhat, 3, 3, :), reshape(r, 3, 3, :)), 3, size(rhat,3), size(rhat,4))
71
+end
0 commit comments