Trait InsertVectorIntoSubVector

Source
pub trait InsertVectorIntoSubVector<VectorToInsertInto>
where VectorToInsertInto: ValueType,
{ // Required method fn apply( &self, vector_to_insert_into: &mut SparseVector<VectorToInsertInto>, indices_to_insert_into: &ElementIndexSelector<'_>, vector_to_insert: impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<VectorToInsertInto>, mask_for_vector_to_insert_into: &impl VectorMask, options: &impl GetOperatorOptions, ) -> Result<(), SparseLinearAlgebraError>; }

Required Methods§

Source

fn apply( &self, vector_to_insert_into: &mut SparseVector<VectorToInsertInto>, indices_to_insert_into: &ElementIndexSelector<'_>, vector_to_insert: impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<VectorToInsertInto>, mask_for_vector_to_insert_into: &impl VectorMask, options: &impl GetOperatorOptions, ) -> Result<(), SparseLinearAlgebraError>

mask and replace option apply to entire matrix_to_insert_to

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<VectorToInsertInto: ValueType> InsertVectorIntoSubVector<VectorToInsertInto> for InsertVectorIntoSubVectorOperator