linearly v0.32.0Docs


linearly v0.32.0 / mat2d / multiplyScalar

Function: multiplyScalar()

multiplyScalar(a, s): mat2d

Multiply each element of the matrix by a scalar.

Parameters

a: mat2d

s: number

Returns

mat2d

Defined in

src/mat2d.ts:486open in new window