diagonalUnchecked method

Vector<T> diagonalUnchecked([
  1. int offset = 0
])

Returns a mutable diagonal Vector of this Matrix. The behavior is undefined, if offset is out of bounds. An offset of 0 refers to the diagonal in the center of the matrix, a negative offset to the diagonals above, and a positive offset to the diagonals below.

Implementation

Vector<T> diagonalUnchecked([int offset = 0]) =>
    DiagonalVector<T>(this, offset);