Skip to content

Documentation / @ripl/core / matrixMultiply

Function: matrixMultiply()

matrixMultiply(a, b): Matrix

Defined in: packages/core/src/math/matrix.ts:43

Post-multiplies a by b, returning the composite a · b. Applying the result to a point is equivalent to applying b first and then a, matching how successive translate/rotate/scale calls accumulate onto a canvas transform matrix.

Parameters

ParameterType
aMatrix
bMatrix

Returns

Matrix