trait Submatrix[RowIdxTL <: Int, ColIdxTL <: Int, RowIdxBR <: Int, ColIdxBR <: Int, R <: Int, C <: Int, T](using x$1: WindowWithinShape[RowIdxTL, ColIdxTL, RowIdxBR, ColIdxBR, R, C], x$2: NonNegativeDimensions[RowIdxBR - RowIdxTL + 1, ColIdxBR - ColIdxTL + 1])
Type class for getting the submatrix of a Matrix.
- Type parameters:
- C
Column dimension of the original Matrix
- ColIdxBR
Column index of the element that should become the bottom-right element of the submatrix
- ColIdxTL
Column index of the element that should become the top-left element of the submatrix
- R
Row dimension of the original Matrix
- RowIdxBR
Row index of the element that should become the bottom-right element of the submatrix
- RowIdxTL
Row index of the element that should become the top-left element of the submatrix
- T
Element type of the Matrix
- Companion:
- object
class Object
trait Matchable
class Any