Trait scirust::matrix::eo::eo_traits::ECO [] [src]

pub trait ECO<T: MagmaBase + Num>: Shape<T> + MatrixBuffer<T> + Strided {
    fn eco_switch(&mut self, i: usize, j: usize) -> &mut Self { ... }
    fn eco_scale(&mut self, c: usize, scale: T) -> &mut Self { ... }
    fn eco_scale_slice(&mut self, c: usize, scale: T, start: usize, end: usize) -> &mut Self { ... }
    fn eco_scale_add(&mut self, i: usize, j: isize, scale: T) -> &mut Self { ... }
}

Elementary column operations on a matrix

Provided Methods

fn eco_switch(&mut self, i: usize, j: usize) -> &mut Self

Column switching.

fn eco_scale(&mut self, c: usize, scale: T) -> &mut Self

Column scaling by a factor.

fn eco_scale_slice(&mut self, c: usize, scale: T, start: usize, end: usize) -> &mut Self

Column scaling by a factor over a slice

fn eco_scale_add(&mut self, i: usize, j: isize, scale: T) -> &mut Self

Column scaling by a factor and adding to another column. c_i = c_i + k * c_j

Implementors