Types
MatrixView[T] = object buffer*: ptr UncheckedArray[T] rowStride*, colStride*: int
- Source Edit
Procs
func stride[T](view: MatrixView[T]; row, col: Natural): MatrixView[T] {.inline.}
- Returns a new view offset by the row and column stride Source Edit
func toMatrixView[T](data: ptr T; rowStride, colStride: int): MatrixView[T] {. inline.}
- Source Edit