(add q1 q2)
Calculates the addition of the quaternion numbers q1
and q2
.
Calculates the addition of the quaternion numbers `q1` and `q2`.
(conjugate q)
Calculates the conjugate q* of the quaternion number q
.
Calculates the conjugate q* of the quaternion number `q`.
(cross-product q1 q2)
Calculates the cross product of the quaternion numbers q1
and q2
.
Calculates the cross product of the quaternion numbers `q1` and `q2`.
Calculates the hamilton product of the quaternion numbers q1
and q2
.
Calculates the hamilton product of the quaternion numbers `q1` and `q2`.
(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.
(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`.
(norm q)
Calculates the norm ||q|| of the quaternion number q
.
Calculates the norm ||q|| of the quaternion number `q`.
(scalar-product q x)
Calculates the scalar product of the quaternion q
with the real number x
Calculates the scalar product of the quaternion `q` with the real number `x`
(substract q1 q2)
Calculates the substraction of the quaternion numbers q1
and q2
.
Calculates the substraction of the quaternion numbers `q1` and `q2`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close