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