log.SO3 {rotations} | R Documentation |
Rotation logarithm
Description
Compute the logarithm of a rotation matrix, which results in a skew-symmetric matrix. This function maps
the lie group
into its tangent space, which is the space of all
skew symmetric matrices,
the lie algebra
. For details see e.g. moakher02.
Usage
## S3 method for class 'SO3'
log(x, ...)
Arguments
x |
|
... |
additional arguments. |
Details
moakher02
Value
Skew symmetric matrix .
Examples
Rs <- ruars(20, rcayley)
#Here we demonstrate how the logarithm can be used to determine the angle and
#axis corresponding to the provided sample
lRs <- log(Rs) #Take the logarithm of the sample
Ws <- lRs[,c(6, 7, 2)] #The appropriate diagonal entries are the axis*angle
lens <- sqrt(rowSums(Ws^2))
axes <- mis.axis(Rs)
angs <- mis.angle(Rs)
all.equal(axes, Ws/lens)
all.equal(angs, lens)
[Package rotations version 1.6.5 Index]