pub trait InsertMatrixIntoSubMatrix<MatrixToInsertInto>where
MatrixToInsertInto: ValueType,{
// Required method
fn apply(
&self,
matrix_to_insert_into: &mut SparseMatrix<MatrixToInsertInto>,
rows_to_insert_into: &ElementIndexSelector<'_>,
columns_to_insert_into: &ElementIndexSelector<'_>,
matrix_to_insert: &impl GetGraphblasSparseMatrix,
accumulator: &impl AccumulatorBinaryOperator<MatrixToInsertInto>,
mask_for_matrix_to_insert_into: &impl MatrixMask,
options: &impl GetOptionsForOperatorWithMatrixArguments
) -> Result<(), SparseLinearAlgebraError>;
}
Required Methods§
sourcefn apply(
&self,
matrix_to_insert_into: &mut SparseMatrix<MatrixToInsertInto>,
rows_to_insert_into: &ElementIndexSelector<'_>,
columns_to_insert_into: &ElementIndexSelector<'_>,
matrix_to_insert: &impl GetGraphblasSparseMatrix,
accumulator: &impl AccumulatorBinaryOperator<MatrixToInsertInto>,
mask_for_matrix_to_insert_into: &impl MatrixMask,
options: &impl GetOptionsForOperatorWithMatrixArguments
) -> Result<(), SparseLinearAlgebraError>
fn apply( &self, matrix_to_insert_into: &mut SparseMatrix<MatrixToInsertInto>, rows_to_insert_into: &ElementIndexSelector<'_>, columns_to_insert_into: &ElementIndexSelector<'_>, matrix_to_insert: &impl GetGraphblasSparseMatrix, accumulator: &impl AccumulatorBinaryOperator<MatrixToInsertInto>, mask_for_matrix_to_insert_into: &impl MatrixMask, options: &impl GetOptionsForOperatorWithMatrixArguments ) -> Result<(), SparseLinearAlgebraError>
mask and replace option apply to entire matrix_to_insert_to
Object Safety§
This trait is not object safe.