pub struct Elimination {
pub rows: Vec<Vec<Scalar>>,
pub pivots: Vec<(usize, usize)>,
pub origin: Vec<usize>,
}Expand description
The outcome of Gauss-Jordan elimination (see eliminate).
Fields§
§rows: Vec<Vec<Scalar>>The rows, reduced: row k has a one at pivots[k].0 and zeros at
every other pivot column.
pivots: Vec<(usize, usize)>Per pivot: its column, and the index of the row it was among the rows eliminated.
origin: Vec<usize>Per reduced row: the index of the row it was among the rows eliminated — for the rows past the pivots’ too.
Auto Trait Implementations§
impl Freeze for Elimination
impl RefUnwindSafe for Elimination
impl Send for Elimination
impl Sync for Elimination
impl Unpin for Elimination
impl UnsafeUnpin for Elimination
impl UnwindSafe for Elimination
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more