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

Function dense_sparse_matmul

pub fn dense_sparse_matmul<I, E, LhsE, RhsE>(
    acc: impl As2DMut<E>,
    lhs: impl As2D<LhsE>,
    rhs: SparseColMatRef<'_, I, RhsE>,
    alpha: Option<E>,
    beta: E,
    parallelism: Parallelism<'_>,
)
where I: Index, E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>,
Expand description

Multiplies a dense matrix lhs by a sparse matrix rhs, and stores the result in acc. See faer::linalg::matmul::matmul for more details.

ยงNote

Allows unsorted matrices.