skew.exp | R Documentation |
Compute the matrix exponential for skew-symmetric matrices according to the usual Taylor expansion.
The expansion is significantly simplified for skew-symmetric matrices, see moakher02.
Maps a matrix belonging to the lie algebra so(3)
into the lie group SO(3)
.
skew.exp(x)
x |
single |
moakher02
Matrix e^{\bm H}
in SO(3)
.
Rs <- ruars(20, rcayley)
lRs <- log(Rs) #Take the matrix logarithm for rotation matrices
Rs2 <- skew.exp(lRs) #Go back to rotation matrices
all.equal(Rs, Rs2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.