Matrix.fromColumns

Constructs a Matrix from an array of all elements in column-major format.

  1. Matrix fromColumns(Args args)
  2. Matrix fromColumns(T[numElements] elements)
    struct Matrix(T, uint numColumns, uint numRows = numColumns)
    static
    fromColumns
    ()
    (
    const auto ref T[numElements] elements
    )
    if (
    numColumns > 0 &&
    numRows > 0
    )
  3. Matrix fromColumns(T[rowSize][columnSize] columns)

Meta