ReadonlyformatOrientation of this snapshot. In "csc", starts groups coefficients by
column and indices contains row indices. In "csr", starts groups by
row and indices contains column indices.
ReadonlyindicesZero-based minor coordinate at each packed position: a row number for CSC
or a column number for CSR. indices[k] identifies the coordinate of
values[k]; the enclosing row/column is determined from starts.
ReadonlynumNumber of matrix columns. It bounds CSR indices values and determines the
number of packed segments (numCols) when format === "csc".
ReadonlynumNumber of matrix rows. It bounds CSC indices values and determines the
number of packed segments (numRows) when format === "csr".
ReadonlystartsPacked-segment boundaries. Segment j occupies positions from starts[j]
inclusive to starts[j + 1] exclusive in both indices and values.
Segments are columns for CSC and rows for CSR. The array begins with zero,
is nondecreasing, and its final entry equals the two data-array lengths.
ReadonlyvaluesStored coefficients parallel to indices. values[k] and indices[k]
describe one coordinate in the packed segment containing position k.
This typed array is detached from Wasm; mutating it changes only the
snapshot and never the native model.
Detached compressed-sparse snapshot owned by JavaScript. Its arrays obey the
SparseMatrixInputlayout, and the laststartsvalue is the stored nonzero count. The properties are readonly references, but typed-array elements are mutable; changing them never changes the native model.