Trait InsertVectorIntoRow

Source
pub trait InsertVectorIntoRow<AccumulatorEvaluationDomain>
where AccumulatorEvaluationDomain: ValueType,
{ // Required method fn apply( &self, matrix_to_insert_into: &mut impl GetGraphblasSparseMatrix, row_indices_to_insert_into: &ElementIndexSelector<'_>, row_to_insert_into: &ElementIndex, vector_to_insert: impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<AccumulatorEvaluationDomain>, mask_for_row_to_insert_into: &impl VectorMask, options: &impl GetOptionsForOperatorWithMatrixArgument, ) -> Result<(), SparseLinearAlgebraError>; }

Required Methods§

Source

fn apply( &self, matrix_to_insert_into: &mut impl GetGraphblasSparseMatrix, row_indices_to_insert_into: &ElementIndexSelector<'_>, row_to_insert_into: &ElementIndex, vector_to_insert: impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<AccumulatorEvaluationDomain>, mask_for_row_to_insert_into: &impl VectorMask, options: &impl GetOptionsForOperatorWithMatrixArgument, ) -> 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<AccumulatorEvaluationDomain: ValueType> InsertVectorIntoRow<AccumulatorEvaluationDomain> for InsertVectorIntoRowOperator