Trait scirust::matrix::traits::Search [] [src]

pub trait Search<T: MagmaBase + Signed + PartialOrd>: Shape<T> + MatrixBuffer<T> + Strided {
    fn max_abs_scalar_in_row(&self, row: usize, start_col: usize, end_col: usize) -> (T, usize) { ... }
    fn max_abs_scalar_in_col(&self, col: usize, start_row: usize, end_row: usize) -> (T, usize) { ... }
}

Features for searching within the matrix

Provided Methods

fn max_abs_scalar_in_row(&self, row: usize, start_col: usize, end_col: usize) -> (T, usize)

Returns the largest entry (by magnitude) in the row between [start, end) columns

fn max_abs_scalar_in_col(&self, col: usize, start_row: usize, end_row: usize) -> (T, usize)

Returns the largest entry (by magnitude) in the column between [start, end) rows

Implementors