Struct feanor_math::algorithms::sparse_invert::builder::SparseMatrixBuilder
source · pub struct SparseMatrixBuilder<R>{ /* private fields */ }Implementations§
source§impl<R> SparseMatrixBuilder<R>
impl<R> SparseMatrixBuilder<R>
pub fn new<S>(ring: &S) -> Selfwhere
S: RingStore<Type = R>,
pub fn clone_matrix<S>(&self, ring: S) -> Selfwhere
S: RingStore<Type = R>,
pub fn add_col(&mut self, j: usize)
pub fn add_cols(&mut self, number: usize)
pub fn add_zero_row(&mut self, i: usize)
pub fn add_row<I>(&mut self, i: usize, values: I)
pub fn set(&mut self, i: usize, j: usize, el: R::Element) -> Option<R::Element>
Trait Implementations§
source§impl<R> Matrix<R> for SparseMatrixBuilder<R>
impl<R> Matrix<R> for SparseMatrixBuilder<R>
Auto Trait Implementations§
impl<R: ?Sized> RefUnwindSafe for SparseMatrixBuilder<R>
impl<R: ?Sized> Send for SparseMatrixBuilder<R>
impl<R: ?Sized> Sync for SparseMatrixBuilder<R>
impl<R: ?Sized> Unpin for SparseMatrixBuilder<R>
impl<R: ?Sized> UnwindSafe for SparseMatrixBuilder<R>
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