PseudoInverse

Trait PseudoInverse 

Source
pub trait PseudoInverse {
    // Required method
    fn pinv(&self) -> Self;
}
Expand description

Moore-Penrose pseudo-inverse.

Required Methods§

Source

fn pinv(&self) -> Self

Computes the Moore-Penrose pseudo-inverse of a matrix.

§Panics
  • Panics if the SVD computation fails.
§Returns

The pseudo-inverse of the matrix.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PseudoInverse for Array2<f64>

Source§

fn pinv(&self) -> Self

Implementors§