extendr_api::prelude::sparse::linalg::matmul

Function sparse_sparse_matmul_numeric

pub fn sparse_sparse_matmul_numeric<I, E, LhsE, RhsE>(
    dst: SparseColMatMut<'_, I, E>,
    lhs: SparseColMatRef<'_, I, LhsE>,
    rhs: SparseColMatRef<'_, I, RhsE>,
    k: E,
    info: &SparseMatmulInfo,
    parallelism: Parallelism<'_>,
    stack: PodStack<'_>,
)
where I: Index, E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>,
Expand description

Performs a numeric matrix multiplication of a sparse matrix lhs by a sparse matrix rhs multiplied by k, and stores the result in dst.

ยงNote

lhs and rhs are allowed to be unsorted matrices.