DenseMatrix
Functions
equals
get
hashCode
set
toArray
Materialise into a fresh Array<DoubleArray> of rows, independent of the internal storage.
toString
Column j as a fresh vector, copied rather than viewed.
Makes the stored entries match what structure promises, in place.
A - B, allocating. axpy with alpha = -1.0 accumulates into an existing operand.
A + B, allocating. axpy accumulates into an existing operand.
Row i as a fresh vector, gathered across the backing. Prefer column where the algorithm allows.
A * B (BLAS dgemm), allocating. gemm accumulates into an existing C instead.
Matrix-vector product into a fresh dense result.
A * B for a dense left operand and sparse right operand, allocating dense storage.
alpha * A, allocating. scale multiplies in place.
Allocating product through koblas: two sparse operands give CSC storage, any other pairing dense.
Fresh transposed matrix, with the active backend (koblas). For products, prefer the transpose flags on gemv and gemm, which read the original storage without copying. See DenseBlas.transpose.
-A, allocating.
Borrows a rectangle without copying. Mutations through either reference are shared. Offsets and extents are relative to this region; a nested view retains the parent's leading dimension. Empty rectangles at either boundary are valid and access no entries.