Matrix.opIndex

Index an element directly.

  1. inout(T)[] opIndex(size_t i)
  2. inout(T) opIndex(size_t i, size_t j)
    struct Matrix(T, uint numColumns, uint numRows = numColumns)
    ref inout
    inout(T)
    opIndex
    (
    size_t i
    ,
    size_t j
    )
    if (
    numColumns > 0 &&
    numRows > 0
    )

Parameters

i size_t

column index

j size_t

row index

Meta