Description Usage Arguments Value Author(s) Examples
Qrandom
generates uniform random unit quaternions.
1 |
n |
Optional integer for the number of generated quaternions, default = 1. |
Q |
Uniform random unit quaternion (Q) vector [q1, q2, q3, q4] or matrix n x 4. |
Jose Gama
1 2 |
[,1] [,2] [,3] [,4]
[1,] 0.07540681 0.1176031 0.04668728 -0.9890923
[,1] [,2] [,3] [,4]
[1,] -0.5035290 -0.5276611 0.3682817 0.5765422
[2,] 0.3547558 0.1561162 0.6974109 0.6028218
[3,] 0.4106757 -0.3204730 -0.7825206 -0.3410337
[4,] -0.1125573 0.2589709 -0.9514479 0.1225225
[5,] -0.5734886 0.6605912 0.4300572 0.2231164
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.