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

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.

Methods

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> SolveC<A> for CholeskyFactorized<S> where
    A: Scalar + Lapack,
    S: Data<Elem = A>, 
[src]

fn solvec<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>[src]

Solves a system of linear equations A * x = b with Hermitian (or real symmetric) positive definite matrix A, where A is self, b is the argument, and x is the successful result. Read more

fn solvec_into<S: DataMut<Elem = A>>(
    &self,
    b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
[src]

Solves a system of linear equations A * x = b with Hermitian (or real symmetric) positive definite matrix A, where A is self, b is the argument, and x is the successful result. Read more

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

Auto Trait Implementations

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

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

Blanket Implementations

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

impl<T> From<T> for 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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