F64DenseVector
Functions
equals
get
hashCode
set
toDoubleArray
Materialise into a fresh dense DoubleArray, independent of the internal storage.
toString
Sum of absolute values (BLAS dasum). Sparse vectors sum over stored entries only.
y = y + alpha * x. A sparse x touches only the positions it stores.
aT * b. Any sparse operand goes through F64SparseKernels, walking the stored entries only.
Visit each stored entry as (index, value), in ascending index order for any storage. A F64SparseVector may present numerical zeros as stored, and any other F64VectorLike has every index visited.
Index of the entry with maximal absolute value (BLAS idamax), -1 for a zero-length vector. Ties resolve to the lowest index, and a vector with no stored entries returns 0.
a - b, allocating. axpy with alpha = -1.0 accumulates into an existing operand.
Euclidean norm (BLAS dnrm2). Rescales when the sum of squares would overflow or underflow, so any finite input gives the correct norm.
a + b, allocating. axpy accumulates into an existing operand.
v = alpha * v.
alpha * x, allocating. scale multiplies in place.
-x, allocating.