Liking cljdoc? Tell your friends :D

mafs.matrix


->csscljs

(->css m)

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

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

createcljs

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

detcljs

(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

identitycljs

source

invertcljs

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

multcljs

(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

rotatecljs

(rotate m a)
source

rotationcljs

(rotation a)
source

scalecljs

(scale m cx cy)
source

scale-matrixcljs

(scale-matrix cx cy)
source

shearcljs

(shear m sx sy)
source

shear-matrixcljs

(shear-matrix sx sy)
source

translatecljs

(translate m tx ty)
source

translationcljs

(translation tx ty)
source

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

× close