Mat.mul

Multiplies this matrix by a factor.

  1. Mat!(T, rowCount, colCount) mul(T factor)
    struct Mat(T, size_t rowCount, size_t colCount)
    ref
    Mat!(T, rowCount, colCount)
    mul
    ()
    if (
    isNumeric!T &&
    rowCount > 0
    &&
    colCount > 0
    )
  2. Mat!(T, rowCount, otherColCount) mul(Mat!(T, otherRowCount, otherColCount) other)
  3. Vec!(T, rowCount) mul(Vec!(T, colCount) vector)

Parameters

factor T

The factor to muliply by.

Return Value

Type: Mat!(T, rowCount, colCount)

A reference to this matrix, for method chaining.

Meta