Function multiplyScalar

  • Multiply each element of the matrix by a scalar.

    Parameters

    • out: mat2d

      the receiving matrix

    • a: ReadonlyMat2d

      the matrix to scale

    • b: number

      amount to scale the matrix's elements by

    Returns mat2d

    out

Generated using TypeDoc