pub struct Matrix<T>(pub Vec<Vec<T>>);
Tuple Fields§
§0: Vec<Vec<T>>
Implementations§
source§impl<T> Matrix<T>where
T: Mul<Output = T> + Sub<Output = T> + Clone + Add<Output = T>,
impl<T> Matrix<T>where T: Mul<Output = T> + Sub<Output = T> + Clone + Add<Output = T>,
pub fn determinant(&self, neg_one: T) -> Result<T, Box<dyn Error>>
source§impl<T> Matrix<T>where
T: Mul<Output = T> + Sub<Output = T> + Clone + PartialOrd + Div<Output = Result<T, Box<dyn Error>>> + Add<Output = T> + Debug,
impl<T> Matrix<T>where T: Mul<Output = T> + Sub<Output = T> + Clone + PartialOrd + Div<Output = Result<T, Box<dyn Error>>> + Add<Output = T> + Debug,
source§impl<T> Matrix<T>where
T: Mul<Output = T> + Sub<Output = T> + Clone + PartialOrd + Div<Output = T> + Add<Output = T> + Debug,
impl<T> Matrix<T>where T: Mul<Output = T> + Sub<Output = T> + Clone + PartialOrd + Div<Output = T> + Add<Output = T> + Debug,
source§impl<T> Matrix<T>where
T: Clone + Mul + Add + Sub + PartialOrd + Div<Output = Result<T, Box<dyn Error>>> + Add<Output = T> + Mul<Output = T> + Sub<Output = T> + Debug,
impl<T> Matrix<T>where T: Clone + Mul + Add + Sub + PartialOrd + Div<Output = Result<T, Box<dyn Error>>> + Add<Output = T> + Mul<Output = T> + Sub<Output = T> + Debug,
source§impl<T> Matrix<T>where
T: Mul<Output = T> + Sub<Output = T> + Clone + Add<Output = T> + Debug,
impl<T> Matrix<T>where T: Mul<Output = T> + Sub<Output = T> + Clone + Add<Output = T> + Debug,
Trait Implementations§
source§impl<T> Mul<&Matrix<T>> for &Matrix<T>where
T: Mul + Mul<Output = T> + Add<Output = T> + Clone + Debug,
impl<T> Mul<&Matrix<T>> for &Matrix<T>where T: Mul + Mul<Output = T> + Add<Output = T> + Clone + Debug,
source§impl<T> Mul<Matrix<T>> for Matrix<T>where
T: Mul + Mul<Output = T> + Add<Output = T> + Clone + Debug,
impl<T> Mul<Matrix<T>> for Matrix<T>where T: Mul + Mul<Output = T> + Add<Output = T> + Clone + Debug,
impl<T: PartialEq> Eq for Matrix<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Matrix<T>where T: RefUnwindSafe,
impl<T> Send for Matrix<T>where T: Send,
impl<T> Sync for Matrix<T>where T: Sync,
impl<T> Unpin for Matrix<T>where T: Unpin,
impl<T> UnwindSafe for Matrix<T>where T: 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