Qrandom: Generate uniform random unit quaternions

Description Usage Arguments Value Author(s) Examples

View source: R/RSpinconv.R

Description

Qrandom generates uniform random unit quaternions.

Usage

1

Arguments

n

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

Value

Q

Uniform random unit quaternion (Q) vector [q1, q2, q3, q4] or matrix n x 4.

Author(s)

Jose Gama

Examples

1
2

RSpincalc documentation built on May 30, 2017, 2:05 a.m.

Search within the RSpincalc package
Search all R packages, documentation and source code