koblas

addScaled

Fresh CSC alpha · op(A) + B, retaining the structural union.

prepare

Prepares an immutable snapshot of this matrix for repeated products.

symm

fun SparseMatrix.symm(alpha: Double, b: DenseMatrix, beta: Double, c: DenseMatrix, lower: Boolean = true, right: Boolean = false, workspace: Workspace? = null)(source)

Symmetric sparse-dense product into c, with this selected-triangle matrix on either side.

symv

Symmetric product with x into a fresh dense vector, reading only this matrix's selected triangle.


fun SparseMatrix.symv(alpha: Double, x: DoubleArray, beta: Double, y: DoubleArray, lower: Boolean = true)(source)

Symmetric y = alpha · A · x + beta · y, reading only this matrix's selected triangle.

syrk

fun SparseMatrix.syrk(transpose: Boolean = false, lower: Boolean = true): SparseMatrix(source)

Fresh selected CSC triangle of op(A) · op(A)ᵀ.


fun SparseMatrix.syrk(alpha: Double, transpose: Boolean, beta: Double, c: DenseMatrix, lower: Boolean = true, workspace: Workspace? = null)(source)

Dense selected-triangle sparse rank-k product into c.