pub struct AlgebrustMatrix { /* private fields */ }
Implementations§
Source§impl AlgebrustMatrix
impl AlgebrustMatrix
pub fn new(matrix: &[&[f64]]) -> Self
pub fn new_rand(size: (usize, usize), low: f64, high: f64) -> Self
pub fn new_zeros(size: (usize, usize)) -> Self
pub fn new_identity(n: usize) -> Self
pub fn size(&self) -> (usize, usize)
pub fn matrix_ref(&self) -> &Vec<Vec<f64>>
pub fn addition(&self, other: &AlgebrustMatrix) -> AlgebrustMatrix
pub fn subtraction(&self, other: &AlgebrustMatrix) -> AlgebrustMatrix
pub fn multiplication(&self, other: &AlgebrustMatrix) -> AlgebrustMatrix
pub fn scalar_multiplication(&self, scaler: f64) -> AlgebrustMatrix
pub fn transpose(&self) -> AlgebrustMatrix
pub fn lu_decomposition(&self) -> (AlgebrustMatrix, AlgebrustMatrix)
pub fn determinant(&self) -> f64
pub fn inverse(&self) -> AlgebrustMatrix
Auto Trait Implementations§
impl Freeze for AlgebrustMatrix
impl RefUnwindSafe for AlgebrustMatrix
impl Send for AlgebrustMatrix
impl Sync for AlgebrustMatrix
impl Unpin for AlgebrustMatrix
impl UnwindSafe for AlgebrustMatrix
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