simd_sparse_elementwise

Function simd_sparse_elementwise 

Source
pub fn simd_sparse_elementwise<T, S1, S2>(
    a: &S1,
    b: &S2,
    op: ElementwiseOp,
    options: Option<SimdOptions>,
) -> SparseResult<CsrArray<T>>
where T: Float + SparseElement + Debug + Copy + 'static + SimdUnifiedOps + Send + Sync, S1: SparseArray<T>, S2: SparseArray<T>,
Expand description

SIMD-accelerated element-wise operations on sparse matrices

§Arguments

  • a - First sparse matrix
  • b - Second sparse matrix
  • op - Element-wise operation to perform
  • options - SIMD acceleration options

§Returns

Result sparse matrix