Trait numb_rs::matrix::RowOps[][src]

pub trait RowOps<T: Copy + MulAssign + AddAssign + Mul<Output = T>> {
    fn scale_row(&mut self, i: usize, scale: T);
fn add_rows(&mut self, base: usize, row_to_add: usize, scale: T);
fn swap_rows(&mut self, a: usize, b: usize); }
Expand description

Required for linear algebra

Required methods

Scales all elements in a given row

adds one row to another with a scaling factor such that each element in the row becomes: base + row_to_add * scale The new function will assign values to 0f64 directly under the row to add

swaps two rows

Implementors