Liking cljdoc? Tell your friends :D
Clojure only.

org.soulspace.math.types.octonion


IOctonioncljprotocol

Protocol for octonions, hyper complex numbers of the 8th dimension.

Protocol for octonions, hyper complex numbers of the 8th dimension.

addclj

(add this o2)

Returns the addition of 'this' octonion with the octonion o2.

Returns the addition of 'this' octonion with the octonion o2.

conjugateclj

(conjugate this)

Returns the conjugate o* of 'this' octonion.

Returns the conjugate o* of 'this' octonion.

inverseclj

(inverse this)

Returns the inverse of 'this' octonion.

Returns the inverse of 'this' octonion.

multiplyclj

(multiply this o2)

Returns the multiplication of 'this' octonion with the octonion o2.

Returns the multiplication of 'this' octonion with the octonion o2.

normclj

(norm this)

Returns the norm ||o|| of 'this' octonion.

Returns the norm ||o|| of 'this' octonion.

scalar-productclj

(scalar-product this o2)

Returns the scalar product of 'this' octonion with the number 'x'.

Returns the scalar product of 'this' octonion with the number 'x'.

substractclj

(substract this o2)

Returns the substraction of 'this' octonion with the octonion o2.

Returns the substraction of 'this' octonion with the octonion o2.
sourceraw docstring

octonionclj

(octonion om)
(octonion r i j k l m n o)

Creates a new octonion from octonian map 'om' or the real numbers 'r', 'i', 'j', 'k', 'l', 'm', 'n' and 'o'.

Creates a new octonion from octonian map 'om' or the real numbers
'r', 'i', 'j', 'k', 'l', 'm', 'n' and 'o'.
sourceraw docstring

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

× close