[][src]Struct smartcore::linalg::lu::LU

pub struct LU<T: RealNumber, M: BaseMatrix<T>> { /* fields omitted */ }

Result of LU decomposition.

Implementations

impl<T: RealNumber, M: BaseMatrix<T>> LU<T, M>[src]

pub fn L(&self) -> M[src]

Get lower triangular matrix

pub fn U(&self) -> M[src]

Get upper triangular matrix

pub fn pivot(&self) -> M[src]

Pivot vector

pub fn inverse(&self) -> Result<M, Failed>[src]

Returns matrix inverse

Trait Implementations

impl<T: Clone + RealNumber, M: Clone + BaseMatrix<T>> Clone for LU<T, M>[src]

impl<T: Debug + RealNumber, M: Debug + BaseMatrix<T>> Debug for LU<T, M>[src]

Auto Trait Implementations

impl<T, M> RefUnwindSafe for LU<T, M> where
    M: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<T, M> Send for LU<T, M> where
    M: Send,
    T: Send
[src]

impl<T, M> Sync for LU<T, M> where
    M: Sync,
    T: Sync
[src]

impl<T, M> Unpin for LU<T, M> where
    M: Unpin,
    T: Unpin
[src]

impl<T, M> UnwindSafe for LU<T, M> where
    M: UnwindSafe,
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,