Matrix.opIndex

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

Parameters

row
Type: size_t

A row index.

Return Value

Type: inout(Number[columnCount])

A row from the matrix.

Meta