lu.h File Reference

Implements LU decomposition for square matrix expressions. More...

#include <cml/et/size_checking.h>
#include <cml/matrix/matrix_expr.h>
#include <cml/matvec/matvec_promotions.h>

Include dependency graph for lu.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cml
namespace  cml::detail

Functions

template<typename XprT >
et::MatrixXpr< XprT >
::temporary_type 
cml::lu (const et::MatrixXpr< XprT > &e)
 LU factorization for a matrix expression.
template<typename E , class AT , typename BO , class L >
matrix< E, AT, BO, L >
::temporary_type 
cml::lu (const matrix< E, AT, BO, L > &m)
 LU factorization for a matrix.
template<class MatT >
MatT::temporary_type cml::detail::lu_copy (const MatT &M)
template<class MatT >
void cml::detail::lu_inplace (MatT &A)
template<typename MatT , typename VecT >
et::MatVecPromote< MatT, VecT >
::temporary_type 
cml::lu_solve (const MatT &LU, const VecT &b)
 Solve y = LUx for x.


Detailed Description

Implements LU decomposition for square matrix expressions.

Todo:
The LU implementation does not check for a zero diagonal entry (implying that the input has no LU factorization).
Todo:
Should also have a pivoting implementation.
Todo:
need to throw a numeric error if the determinant of the matrix given to lu(), lu_solve(), or inverse() is 0.

Definition in file lu.h.


Generated on Sat Jul 18 19:35:36 2009 for CML 1.0 by  doxygen 1.5.9