Trait peroxide::prelude::simpler::SimplerLinearAlgebra

source ·
pub trait SimplerLinearAlgebra<M: MatrixTrait> {
Show 15 methods // Required methods fn back_subs(&self, b: &[f64]) -> Vec<f64>; fn forward_subs(&self, b: &[f64]) -> Vec<f64>; fn lu(&self) -> PQLU<M>; fn waz_diag(&self) -> Option<WAZD<M>>; fn waz(&self) -> Option<WAZD<M>>; fn qr(&self) -> QR<M>; fn cholesky(&self) -> M; fn rref(&self) -> M; fn det(&self) -> f64; fn block(&self) -> (M, M, M, M); fn inv(&self) -> M; fn pseudo_inv(&self) -> M; fn solve(&self, b: &[f64]) -> Vec<f64>; fn solve_mat(&self, m: &M) -> M; fn is_symmetric(&self) -> bool;
}
Expand description

Simple Linear algebra

Required Methods§

source

fn back_subs(&self, b: &[f64]) -> Vec<f64>

source

fn forward_subs(&self, b: &[f64]) -> Vec<f64>

source

fn lu(&self) -> PQLU<M>

source

fn waz_diag(&self) -> Option<WAZD<M>>

source

fn waz(&self) -> Option<WAZD<M>>

source

fn qr(&self) -> QR<M>

source

fn cholesky(&self) -> M

source

fn rref(&self) -> M

source

fn det(&self) -> f64

source

fn block(&self) -> (M, M, M, M)

source

fn inv(&self) -> M

source

fn pseudo_inv(&self) -> M

source

fn solve(&self, b: &[f64]) -> Vec<f64>

source

fn solve_mat(&self, m: &M) -> M

source

fn is_symmetric(&self) -> bool

Implementors§