Struct nalgebra_lapack::Cholesky[][src]

pub struct Cholesky<N: Scalar, D: Dim> where
    DefaultAllocator: Allocator<N, D, D>, 
{ /* fields omitted */ }

The cholesky decomposition of a symmetric-definite-positive matrix.

Implementations

impl<N: CholeskyScalar + Zero, D: Dim> Cholesky<N, D> where
    DefaultAllocator: Allocator<N, D, D>, 
[src]

pub fn new(m: MatrixN<N, D>) -> Option<Self>[src]

Computes the cholesky decomposition of the given symmetric-definite-positive square matrix.

Only the lower-triangular part of the input matrix is considered.

pub fn unpack(self) -> MatrixN<N, D>[src]

Retrieves the lower-triangular factor of the cholesky decomposition.

pub fn unpack_dirty(self) -> MatrixN<N, D>[src]

Retrieves the lower-triangular factor of che cholesky decomposition, without zeroing-out its strict upper-triangular part.

This is an allocation-less version of self.l(). The values of the strict upper-triangular part are garbage and should be ignored by further computations.

pub fn l(&self) -> MatrixN<N, D>[src]

Retrieves the lower-triangular factor of the cholesky decomposition.

pub fn l_dirty(&self) -> &MatrixN<N, D>[src]

Retrieves the lower-triangular factor of the cholesky decomposition, without zeroing-out its strict upper-triangular part.

This is an allocation-less version of self.l(). The values of the strict upper-triangular part are garbage and should be ignored by further computations.

pub fn solve<R2: Dim, C2: Dim, S2>(
    &self,
    b: &Matrix<N, R2, C2, S2>
) -> Option<MatrixMN<N, R2, C2>> where
    S2: Storage<N, R2, C2>,
    DefaultAllocator: Allocator<N, R2, C2>, 
[src]

Solves the symmetric-definite-positive linear system self * x = b, where x is the unknown to be determined.

pub fn solve_mut<R2: Dim, C2: Dim>(&self, b: &mut MatrixMN<N, R2, C2>) -> bool where
    DefaultAllocator: Allocator<N, R2, C2>, 
[src]

Solves in-place the symmetric-definite-positive linear system self * x = b, where x is the unknown to be determined.

pub fn inverse(self) -> Option<MatrixN<N, D>>[src]

Computes the inverse of the decomposed matrix.

Trait Implementations

impl<N: Clone + Scalar, D: Clone + Dim> Clone for Cholesky<N, D> where
    DefaultAllocator: Allocator<N, D, D>, 
[src]

impl<N: Scalar + Copy, D: Dim> Copy for Cholesky<N, D> where
    DefaultAllocator: Allocator<N, D, D>,
    MatrixN<N, D>: Copy
[src]

impl<N: Debug + Scalar, D: Debug + Dim> Debug for Cholesky<N, D> where
    DefaultAllocator: Allocator<N, D, D>, 
[src]

Auto Trait Implementations

impl<N, D> !RefUnwindSafe for Cholesky<N, D>

impl<N, D> !Send for Cholesky<N, D>

impl<N, D> !Sync for Cholesky<N, D>

impl<N, D> !Unpin for Cholesky<N, D>

impl<N, D> !UnwindSafe for Cholesky<N, D>

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> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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>,