Trait Inverse

Source
pub trait Inverse<T: Float> {
    // Required methods
    fn det(&self) -> T;
    fn inv(&self) -> Option<Self>
       where Self: Sized;
    fn inv_diag(&self) -> Option<Self>
       where Self: Sized;
    fn lu_inv(&self) -> Option<Self>
       where Self: Sized;
    fn inv_lt(&self) -> Option<Self>
       where Self: Sized;
    fn inv_ut(&self) -> Option<Self>
       where Self: Sized;
    fn cholesky(&self) -> Self
       where Self: Sized;
    fn lu(&self) -> Option<(Self, Self, Self)>
       where Self: Sized;
}

Required Methods§

Source

fn det(&self) -> T

Source

fn inv(&self) -> Option<Self>
where Self: Sized,

Source

fn inv_diag(&self) -> Option<Self>
where Self: Sized,

Source

fn lu_inv(&self) -> Option<Self>
where Self: Sized,

Source

fn inv_lt(&self) -> Option<Self>
where Self: Sized,

Source

fn inv_ut(&self) -> Option<Self>
where Self: Sized,

Source

fn cholesky(&self) -> Self
where Self: Sized,

Source

fn lu(&self) -> Option<(Self, Self, Self)>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl<T> Inverse<T> for Array2<T>
where T: Float + Debug + ScalarOperand + Sum<T> + AddAssign,

Source§

fn det(&self) -> T

Source§

fn inv(&self) -> Option<Self>

Source§

fn inv_diag(&self) -> Option<Self>

Source§

fn cholesky(&self) -> Self

Source§

fn lu(&self) -> Option<(Self, Self, Self)>

Source§

fn lu_inv(&self) -> Option<Self>

Source§

fn inv_lt(&self) -> Option<Self>

Source§

fn inv_ut(&self) -> Option<Self>

Implementors§