Skip to content

Instantly share code, notes, and snippets.

@msaroufim
Created November 28, 2019 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save msaroufim/70828c638201ffdc14ebbae2de56a4da to your computer and use it in GitHub Desktop.
Save msaroufim/70828c638201ffdc14ebbae2de56a4da to your computer and use it in GitHub Desktop.
function Adjoint(T::Array)
R, p = TransToRp(T)
vcat(hcat(R, zeros(3, 3)), hcat(VecToso3(p) * R, R))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment