Struct feanor_math::matrix::dense::DenseMatrix
source · pub struct DenseMatrix<R>{ /* private fields */ }Implementations§
source§impl<R> DenseMatrix<R>
impl<R> DenseMatrix<R>
source§impl<R> DenseMatrix<R>
impl<R> DenseMatrix<R>
pub fn at(&self, i: usize, j: usize) -> &R::Element
pub fn at_mut(&mut self, i: usize, j: usize) -> &mut R::Element
pub fn identity<S>(n: usize, ring: S) -> Selfwhere
S: RingStore<Type = R>,
pub fn zero<S>(n: usize, m: usize, ring: S) -> Selfwhere
S: RingStore<Type = R>,
pub fn clone_matrix<S>(&self, ring: S) -> Selfwhere
S: RingStore<Type = R>,
pub fn set_row_count<S>(&mut self, new_count: usize, ring: S)where
S: RingStore<Type = R>,
Trait Implementations§
source§impl<R> Matrix<R> for DenseMatrix<R>
impl<R> Matrix<R> for DenseMatrix<R>
fn row_count(&self) -> usize
fn col_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 DenseMatrix<R>where
R: ?Sized,
impl<R> RefUnwindSafe for DenseMatrix<R>
impl<R> Send for DenseMatrix<R>
impl<R> Sync for DenseMatrix<R>
impl<R> Unpin for DenseMatrix<R>where
R: ?Sized,
impl<R> UnwindSafe for DenseMatrix<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