Liking cljdoc? Tell your friends :D

org.soulspace.math.quaternion


addclj/s

(add q1 q2)

Calculates the addition of the quaternion numbers 'q1' and 'q2'.

Calculates the addition of the quaternion numbers 'q1' and 'q2'.
sourceraw docstring

conjugateclj/s

(conjugate q)

Calculates the conjugate q* of the quaternion number 'q'.

Calculates the conjugate q* of the quaternion number 'q'.
sourceraw docstring

hamilton-productclj/s

Calculates the hamilton product of the quaternion numbers 'q1' and 'q2'.

Calculates the hamilton product of the quaternion numbers 'q1' and 'q2'.
sourceraw docstring

i-unitclj/s

Unit of the i comonent.

Unit of the i comonent.
sourceraw docstring

inverseclj/s

(inverse q)

Calculates the inverse of the quaternion number 'q', if q is not zero. If q is zero, an exeption is thrown.

Calculates the inverse of the quaternion number 'q', if q is not zero.
If q is zero, an exeption is thrown.
sourceraw docstring

j-unitclj/s

Unit of the j comonent.

Unit of the j comonent.
sourceraw docstring

k-unitclj/s

Unit of the k comonent.

Unit of the k comonent.
sourceraw docstring

multiplyclj/s

(multiply q1 q2)

Calculates the multiplication or hamilton product of the quaternion numbers 'q1' and 'q2'.

Calculates the multiplication or hamilton product of the quaternion numbers 'q1' and 'q2'.
sourceraw docstring

normclj/s

(norm q)

Calculates the norm ||q|| of the quaternion number 'q'.

Calculates the norm ||q|| of the quaternion number 'q'.
sourceraw docstring

oneclj/s

Identity element.

Identity element.
sourceraw docstring

r-unitclj/s

Unit of the r comonent.

Unit of the r comonent.
sourceraw docstring

scalar-productclj/s

(scalar-product q1 q2)

Calculates the hamilton product of the quaternion numbers 'q1' and 'q2'.

Calculates the hamilton product of the quaternion numbers 'q1' and 'q2'.
sourceraw docstring

substractclj/s

(substract q1 q2)

Calculates the substraction of the quaternion numbers 'q1' and 'q2'.

Calculates the substraction of the quaternion numbers 'q1' and 'q2'.
sourceraw docstring

zeroclj/s

Zero element.

Zero element.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close