Struct ndarray_linalg::cholesky::CholeskyFactorized
source · [−]Expand description
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
sourceimpl<A, S> CholeskyFactorized<S> where
A: Scalar + Lapack,
S: DataMut<Elem = A>,
impl<A, S> CholeskyFactorized<S> where
A: Scalar + Lapack,
S: DataMut<Elem = A>,
sourcepub fn into_lower(self) -> ArrayBase<S, Ix2>
pub fn into_lower(self) -> ArrayBase<S, Ix2>
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.
sourcepub fn into_upper(self) -> ArrayBase<S, Ix2>
pub fn into_upper(self) -> ArrayBase<S, Ix2>
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
sourceimpl<A, S> DeterminantC for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: Data<Elem = A>,
impl<A, S> DeterminantC for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: Data<Elem = A>,
sourceimpl<A, S> DeterminantCInto for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: Data<Elem = A>,
impl<A, S> DeterminantCInto for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: Data<Elem = A>,
type Output = <A as Scalar>::Real
sourcefn detc_into(self) -> Self::Output
fn detc_into(self) -> Self::Output
Computes the determinant of the Hermitian (or real symmetric) positive definite matrix. Read more
sourcefn ln_detc_into(self) -> Self::Output
fn ln_detc_into(self) -> Self::Output
Computes the natural log of the determinant of the Hermitian (or real symmetric) positive definite matrix. Read more
sourceimpl<A, S> InverseCInto for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: DataMut<Elem = A>,
impl<A, S> InverseCInto for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: DataMut<Elem = A>,
sourceimpl<A, S> SolveC<A> for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: Data<Elem = A>,
impl<A, S> SolveC<A> for CholeskyFactorized<S> where
A: Scalar + Lapack,
S: Data<Elem = A>,
sourcefn solvec_inplace<'a, Sb>(
&self,
b: &'a mut ArrayBase<Sb, Ix1>
) -> Result<&'a mut ArrayBase<Sb, Ix1>> where
Sb: DataMut<Elem = A>,
fn solvec_inplace<'a, Sb>(
&self,
b: &'a mut ArrayBase<Sb, Ix1>
) -> Result<&'a mut ArrayBase<Sb, Ix1>> where
Sb: DataMut<Elem = A>,
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. The value of x
is
also assigned to the argument. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more