@lakuna/umath
    Preparing search index...

    Variable multiplyScalarConst

    multiplyScalar: <T extends Matrix2Like>(
        matrix: Matrix2Like,
        scalar: number,
        out: T,
    ) => T = vector4Scale

    Multiply a matrix by a scalar value.

    Type Declaration

      • <T extends Matrix2Like>(matrix: Matrix2Like, scalar: number, out: T): T
      • Type Parameters

        Parameters

        • matrix: Matrix2Like

          The multiplier.

        • scalar: number

          The multiplicand.

        • out: T

          The matrix to store the result in.

        Returns T

        The product.