EArandom {RSpincalc}R Documentation

Generate uniform random Euler Angles

Description

EArandom generates uniform random Euler Angles.

Usage

EArandom(n=NA, EulerOrder='zyx', tol = 10 * .Machine$double.eps, ignoreAllChk=FALSE)

Arguments

n

Optional integer for the number of generated Euler Angles, default = 1.

EulerOrder

Euler Order (xyx, yzy, zxz, xzx, yxy, zyz, xyz, yzx, zxy, xzy, yxz, zyx).

tol

Tolerance from deviations from unity for the determinant of rotation matrices or the the vector length for unitary vectors.

ignoreAllChk

Logical, TRUE=disables all warnings and error checks (use with caution!).

Value

EA

Euler Angles (EA).

Author(s)

Jose Gama

Examples

EArandom()
EArandom(5)

[Package RSpincalc version 1.0.2 Index]