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>
fn col_count(&self) -> usize
fn row_count(&self) -> usize
fn entry_at(&self, i: usize, j: usize) -> &R::Element
fn format<'a, S>(&'a self, ring: &'a S) -> MatrixDisplayWrapper<'a, R, Self>where
S: RingStore<Type = R>,
fn matrix_eq<M, S>(&self, other: &M, ring: S) -> bool
Auto Trait Implementations§
impl<R> Freeze for SparseMatrixBuilder<R>
impl<R> RefUnwindSafe for SparseMatrixBuilder<R>
impl<R> Send for SparseMatrixBuilder<R>
impl<R> Sync for SparseMatrixBuilder<R>
impl<R> Unpin for SparseMatrixBuilder<R>
impl<R> 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