Matrix.opCall

Matrix row-major in memory.

  1. inout(E) opCall(uint row, uint col)
    struct Matrix(E, uint rows_, uint cols_, Layout layout = Layout.rowMajor)
    ref inout
    static if(layout == Layout.rowMajor)
    inout(E)
    opCall
    ()
    (
    uint row
    ,
    uint col
    )
    if (
    rows_ >= 1 &&
    cols_ >= 1
    )
  2. inout(E) opCall(uint row, uint col)

Meta