# [−][src]Struct nalgebra::sparse::CsCholesky

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

The cholesky decomposition of a column compressed sparse matrix.

## Methods

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

#### `pub fn new(m: &CsMatrix<N, D, D>) -> Self`[src]

Computes the cholesky decomposition of the sparse matrix `m`.

#### `pub fn new_symbolic(m: &CsMatrix<N, D, D>) -> Self`[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>>`[src]

The lower-triangular matrix of the cholesky decomposition.

#### `pub fn unwrap_l(self) -> Option<CsMatrix<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`.

## Blanket Implementations

### `impl<T> Same<T> for T`

#### `type Output = T`

Should always be `Self`

### `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.