Rotation Matrix¶
This function allows you to produce a rotation matrix.
- omtools.std.rotmat.rotmat(expr: omtools.core.variable.Variable, axis: str)¶
This function creates a rotation matrix depending on the input value and the axis.
- Parameters
- expr: Variable
The value which determines by how much the rotation matrix
- axis: str
The axis along which the rotation matrix should rotate. Can we specified with: ‘x’ , ‘y’ , or ‘z’.
Examples for all the possible use cases are provided below.