koblas

core

Types

Link copied to clipboard
@Serializable
@SerialName(value = "F64DenseMatrix")
class F64DenseMatrix : F64MatrixView
Link copied to clipboard
@Serializable
@SerialName(value = "F64DenseVector")
class F64DenseVector : F64VectorView
Link copied to clipboard
interface F64MatrixLike

Read-only matrix contract. Anything that only reads a matrix should take this.

Link copied to clipboard
@Serializable
sealed interface F64MatrixView : F64MatrixLike

The matrix storages koblas itself defines, F64DenseMatrix and F64SparseMatrix.

Link copied to clipboard
@Serializable
@SerialName(value = "F64SparseMatrix")
class F64SparseMatrix : F64MatrixView

Compressed-sparse-column form: column j occupies colPtr(j) until colPtr(j + 1) of rowIdx and values, rows strictly ascending. A stored zero is preserved, and a 64-bit-index host library needs a widening copy.

Link copied to clipboard
@Serializable
@SerialName(value = "F64SparseVector")
class F64SparseVector : F64VectorView

Indices are strictly ascending and in range, validated by the constructor; of sorts and sums instead.

Link copied to clipboard
interface F64VectorLike

Read-only vector contract. Anything that only reads a vector should take this.

Link copied to clipboard
@Serializable
sealed interface F64VectorView : F64VectorLike

The vector storages koblas itself defines, F64DenseVector and F64SparseVector.