Skip to main content

ExtractSubMatrix

Trait ExtractSubMatrix 

Source
pub trait ExtractSubMatrix<SubMatrix: ValueType> {
    // Required method
    fn apply(
        &self,
        matrix_to_extract_from: &(impl GetGraphblasSparseMatrix + GetSparseMatrixSize),
        rows_to_extract: &ElementIndexSelector<'_>,
        columns_to_extract: &ElementIndexSelector<'_>,
        accumulator: &impl AccumulatorBinaryOperator<SubMatrix>,
        sub_matrix: &mut impl GetGraphblasSparseMatrix,
        mask: &impl MatrixMask,
        options: &impl GetOptionsForOperatorWithMatrixArgument,
    ) -> Result<(), SparseLinearAlgebraError>;
}

Required Methods§

Source

fn apply( &self, matrix_to_extract_from: &(impl GetGraphblasSparseMatrix + GetSparseMatrixSize), rows_to_extract: &ElementIndexSelector<'_>, columns_to_extract: &ElementIndexSelector<'_>, accumulator: &impl AccumulatorBinaryOperator<SubMatrix>, sub_matrix: &mut impl GetGraphblasSparseMatrix, mask: &impl MatrixMask, options: &impl GetOptionsForOperatorWithMatrixArgument, ) -> Result<(), SparseLinearAlgebraError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<SubMatrix: ValueType> ExtractSubMatrix<SubMatrix> for SubMatrixExtractor