Matrix.fromColumns

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

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

Meta