DCMrandom: Generate uniform random direction cosine matrices

Description Usage Arguments Value Author(s) Examples

Description

DCMrandom generates uniform random direction cosine matrices.

Usage

1
DCMrandom(n=NA, tol = 10 * .Machine$double.eps, ignoreAllChk=FALSE)

Arguments

n

Optional integer for the number of generated direction cosine matrices, default = 1.

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

DCM

Direction cosine matrix or array (DCM).

Author(s)

Jose Gama

Examples

1
2

RSpincalc documentation built on May 2, 2019, 10:59 a.m.