pub trait InsertScalarIntoSubMatrix<MatrixToInsertInto, ScalarToInsert>
where MatrixToInsertInto: ValueType, ScalarToInsert: ValueType,
{ // 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§

source

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.

Implementors§

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, bool> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, f32> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, f64> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, i8> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, i16> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, i32> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, i64> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, isize> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, u8> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, u16> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, u32> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, u64> for InsertScalarIntoSubMatrixOperator

source§

impl<MatrixToInsertInto: ValueType> InsertScalarIntoSubMatrix<MatrixToInsertInto, usize> for InsertScalarIntoSubMatrixOperator