Matrix.opIndex

  1. inout(Number[columnCount]) opIndex(size_t row)
  2. inout(Number) opIndex(size_t row, size_t column)
    struct Matrix(Number, size_t _rowCount, size_t _columnCount)
    @safe pure nothrow ref inout
    inout(Number)
    opIndex
    (
    size_t row
    ,
    size_t column
    )
    if (
    isNumeric!Number &&
    _rowCount > 0
    &&
    _columnCount > 0
    )

Parameters

row size_t

A row index.

column size_t

A column index.

Return Value

Type: inout(Number)

A value from the matrix

Meta