Struct ndarray_linalg::cholesky::CholeskyFactorized[][src]

pub struct CholeskyFactorized<S: Data> {
    pub factor: ArrayBase<S, Ix2>,
    pub uplo: UPLO,
}

Cholesky decomposition of Hermitian (or real symmetric) positive definite matrix

Fields

factor: ArrayBase<S, Ix2>

L from the decomposition A = L * L^H or U from the decomposition A = U^H * U.

uplo: UPLO

If this is UPLO::Lower, then self.factor is L. If this is UPLO::Upper, then self.factor is U.

Implementations

impl<A, S> CholeskyFactorized<S> where
    A: Scalar + Lapack,
    S: DataMut<Elem = A>, 
[src]

pub fn into_lower(self) -> ArrayBase<S, Ix2>[src]

Returns L from the Cholesky decomposition A = L * L^H.

If self.uplo == UPLO::Lower, then no computations need to be performed; otherwise, the conjugate transpose of self.factor is calculated.

pub fn into_upper(self) -> ArrayBase<S, Ix2>[src]

Returns U from the Cholesky decomposition A = U^H * U.

If self.uplo == UPLO::Upper, then no computations need to be performed; otherwise, the conjugate transpose of self.factor is calculated.

Trait Implementations

impl<A, S> DeterminantC for CholeskyFactorized<S> where
    A: Scalar + Lapack,
    S: Data<Elem = A>, 
[src]

type Output = <A as Scalar>::Real

impl<A, S> DeterminantCInto for CholeskyFactorized<S> where
    A: Scalar + Lapack,
    S: Data<Elem = A>, 
[src]

type Output = <A as Scalar>::Real

impl<A, S> InverseC for CholeskyFactorized<S> where
    A: Scalar + Lapack,
    S: Data<Elem = A>, 
[src]

type Output = Array2<A>

impl<A, S> InverseCInto for CholeskyFactorized<S> where
    A: Scalar + Lapack,
    S: DataMut<Elem = A>, 
[src]

type Output = ArrayBase<S, Ix2>

impl<A, S> SolveC<A> for CholeskyFactorized<S> where
    A: Scalar + Lapack,
    S: Data<Elem = A>, 
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for CholeskyFactorized<S> where
    S: RefUnwindSafe,
    <S as RawData>::Elem: RefUnwindSafe

impl<S> Send for CholeskyFactorized<S> where
    S: Send

impl<S> Sync for CholeskyFactorized<S> where
    S: Sync

impl<S> Unpin for CholeskyFactorized<S> where
    S: Unpin

impl<S> UnwindSafe for CholeskyFactorized<S> where
    S: UnwindSafe,
    <S as RawData>::Elem: RefUnwindSafe

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, 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>,