rotvector {orientlib} | R Documentation |
Create an orientation using vectorized 3x3 matrices
Description
Creates a rotvector-class
object.
Usage
rotvector(m)
Arguments
m |
n x 9 matrix or 9 element vector whose rows are vectorized 3x3 matrices, or an orientation object. |
Details
Converts a matrix whose rows are vectorized 3x3 matrices (in column-major form)
into an rotvector-class
object.
Value
A rotvector-class
object.
Author(s)
Duncan Murdoch
See Also
rotvector-class
, rotmatrix
, eulerzyx
,
eulerzxz
, quaternion
, skewvector
, skewmatrix
Examples
x <- rotvector(c(0,1,0,-1,0,0,0,0,1))
x
rotmatrix(x)
[Package orientlib version 0.10.5 Index]