pub struct Matrix<K> {
pub elements: Vec<Vec<K>>,
}Fields§
§elements: Vec<Vec<K>>Implementations§
Source§impl<K> Matrix<K>
impl<K> Matrix<K>
pub fn determinant(&self) -> K
Trait Implementations§
Source§impl<K, const ROWS: usize, const COLS: usize> From<[[K; COLS]; ROWS]> for Matrix<K>where
K: Clone,
impl<K, const ROWS: usize, const COLS: usize> From<[[K; COLS]; ROWS]> for Matrix<K>where
K: Clone,
Auto Trait Implementations§
impl<K> Freeze for Matrix<K>
impl<K> RefUnwindSafe for Matrix<K>where
K: RefUnwindSafe,
impl<K> Send for Matrix<K>where
K: Send,
impl<K> Sync for Matrix<K>where
K: Sync,
impl<K> Unpin for Matrix<K>where
K: Unpin,
impl<K> UnwindSafe for Matrix<K>where
K: UnwindSafe,
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