vector2d.opIndex

Index this vector.

  1. inout(T) opIndex(size_t row, size_t column)
  2. slice2d!T opIndex(size_t row, size_t[2] columns)
  3. slice2d!T opIndex(size_t[2] rows, size_t column)
  4. slice2d!T opIndex(size_t[2] rows, size_t[2] columns)
    struct vector2d(T)
    @nogc
    slice2d!T
    opIndex
    (
    size_t[2] rows
    ,
    size_t[2] columns
    )
  5. slice2d!T opIndex()

Parameters

rows size_t[2]

The rows to index.

columns size_t[2]

The columns to index.

Return Value

Type: slice2d!T

The slice of items at the given row/column span.

Meta