Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cholesky.hpp File Reference

cholesky decomposition More...

#include <cassert>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/vector_proxy.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/matrix_proxy.hpp>

Go to the source code of this file.

Functions

template<class MATRIX , class TRIA >
size_t cholesky_decompose (const MATRIX &A, TRIA &L)
 decompose the symmetric positive definit matrix A into product L L^T. More...
 

Detailed Description

cholesky decomposition

-*- c++ -*-

Function Documentation

template<class MATRIX , class TRIA >
size_t cholesky_decompose ( const MATRIX &  A,
TRIA &  L 
)

decompose the symmetric positive definit matrix A into product L L^T.

template parameter MATRIX provides the type of input matrix template parameter TRIA provides the type of lower triangular output matrix

Parameters
Asquare symmetric positive definite input matrix (only the lower triangle is accessed)
Llower triangular output matrix
Returns
nonzero if decompositon fails (the value ist 1 + the numer of the failing row)

References Feel::project().


Generated on Sun Dec 22 2013 13:11:15 for Feel++ by doxygen 1.8.5