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
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.