Mat.this

Constructs a matrix as a copy of another.

  1. this(T[rowCount * colCount] elements)
  2. this(T[] elements)
  3. this(T[colCount][rowCount] elements)
  4. this(Mat!(T, rowCount, colCount) other)
    struct Mat(T, size_t rowCount, size_t colCount)
    this
    (
    Mat!(T, rowCount, colCount) other
    )
    if (
    isNumeric!T &&
    rowCount > 0
    &&
    colCount > 0
    )
  5. this(T value)

Parameters

other Mat!(T, rowCount, colCount)

The matrix to copy.

Meta