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§
sourcefn 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>
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
Object Safety§
This trait is not object safe.