StridedMatrixView
A mutable live column-major matrix view. Entry (i, j) is at offset + i + j * leadingDimension in data, so panels can retain their parent's physical column stride. The view never copies data, so mutations through the view or any other reference to the array are visible to each other.
Constructors
StridedMatrixView
Properties
cols
data
leadingDimension
Physical distance between the starts of adjacent columns.
offset
rows
Functions
column
Live column j, contiguous even when this view is a panel.
get
overlaps
Whether this matrix and other address at least one common buffer entry.
Every strided product checks this before it runs, so the cheap answers come first: a different buffer, then physical spans that do not meet, then, where the two lie on one grid of columns, a rectangle intersection. Only views whose leading dimensions differ, or whose columns wrap across that grid, are walked entry by entry.
Whether this matrix and other address at least one common buffer entry.
row
Live row i, strided by leadingDimension.
set
toArray
Materialise into a fresh Array<DoubleArray> of rows, independent of the internal storage.
toString
view
gemvInto with alpha = 1, beta = 0, so destination receives A * x.
y = alpha * A * x + beta * y (BLAS dgemv) into destination, for any Matrix against any Vector. beta == 0.0 overwrites destination without reading it, so a destination left holding NaN still yields a clean product.