Skip to content

spvm

Module: strata.core • Kind: function
Source: strata/core/sparse_ops.mojo

def spvm[dtype: DType = DType.float64](
x: List[Scalar[dtype]],
A: CSRMatrix[dtype],
) -> List[Scalar[dtype]]
from strata.core import spvm

Vector-sparse matrix multiplication: y^T = x^T @ A.