[][src]Struct oxygengine_physics_2d::prelude::nalgebra::sparse::CsCholesky

pub struct CsCholesky<N, D> where
    D: Dim,
    N: RealField,
    DefaultAllocator: Allocator<usize, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>, 
{ /* fields omitted */ }

The cholesky decomposition of a column compressed sparse matrix.

Implementations

impl<N, D> CsCholesky<N, D> where
    D: Dim,
    N: RealField,
    DefaultAllocator: Allocator<usize, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

pub fn new(m: &CsMatrix<N, D, D, CsVecStorage<N, D, D>>) -> CsCholesky<N, D>[src]

Computes the cholesky decomposition of the sparse matrix m.

pub fn new_symbolic(
    m: &CsMatrix<N, D, D, CsVecStorage<N, D, D>>
) -> CsCholesky<N, D>
[src]

Perform symbolic analysis for the given matrix.

This does not access the numerical values of m.

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

The lower-triangular matrix of the cholesky decomposition.

pub fn unwrap_l(self) -> Option<CsMatrix<N, D, D, CsVecStorage<N, D, D>>>[src]

Extracts the lower-triangular matrix of the cholesky decomposition.

pub fn decompose_left_looking(&mut self, values: &[N]) -> bool[src]

Perform a numerical left-looking cholesky decomposition of a matrix with the same structure as the one used to initialize self, but with different non-zero values provided by values.

pub fn decompose_up_looking(&mut self, values: &[N]) -> bool[src]

Perform a numerical up-looking cholesky decomposition of a matrix with the same structure as the one used to initialize self, but with different non-zero values provided by values.

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> Event for T where
    T: Send + Sync + 'static, 

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

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

impl<T> Resource for T where
    T: Any, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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