Liking cljdoc? Tell your friends :D

mafs.matrix


->cssclj/s

(->css m)

Represent a matrix as a CSS transform matrix(...) string

Represent a matrix as a CSS transform `matrix(...)` string
sourceraw docstring

createclj/s

(create a b c d)
(create a b c d tx ty)
source

detclj/s

(det m)

Returns the determinant of the top-left corner of the 3x3 matrix (ignoring the translation).

Returns the determinant of the top-left corner of the 3x3 matrix (ignoring the
translation).
sourceraw docstring

identityclj/s

source

invertclj/s

(invert [a00 a01 a02 a10 a11 a12 :as a])
source

multclj/s

(mult [a0 a1 a2 a3 a4 a5] [b0 b1 b2 b3 b4 b5])

Multiplies the first matrix by the second matrix. This composes the transformations from right to left.

Multiplies the first matrix by the second matrix. This composes the
transformations from right to left.
sourceraw docstring

rotateclj/s

(rotate m a)
source

rotationclj/s

(rotation a)
source

scaleclj/s

(scale m cx cy)
source

scale-matrixclj/s

(scale-matrix cx cy)
source

shearclj/s

(shear m sx sy)
source

shear-matrixclj/s

(shear-matrix sx sy)
source

translateclj/s

(translate m tx ty)
source

translationclj/s

(translation tx ty)
source

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

× close