Chemical Data Processing Library C++ API - Version 1.4.0
Namespaces | Functions
LinearSolve.hpp File Reference

Functions for solving linear equations. More...

#include "CDPL/Math/CommonType.hpp"

Go to the source code of this file.

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Math
 Contains classes and functions related to mathematics.
 

Functions

template<typename E1 , typename E2 >
bool CDPL::Math::solveLower (const MatrixExpression< E1 > &e1, VectorExpression< E2 > &e2)
 Solves \( L\,x = b \) in place by forward-substitution, where e1 is a lower-triangular matrix. More...
 
template<typename E1 , typename E2 >
bool CDPL::Math::solveUnitLower (const MatrixExpression< E1 > &e1, VectorExpression< E2 > &e2)
 Solves \( L\,x = b \) in place by forward-substitution, where e1 is a unit lower-triangular matrix (1 on the diagonal). More...
 
template<typename E1 , typename E2 >
bool CDPL::Math::solveLower (const MatrixExpression< E1 > &e1, MatrixExpression< E2 > &e2)
 Solves \( L\,X = B \) in place column-wise by forward-substitution, where e1 is a lower-triangular matrix. More...
 
template<typename E1 , typename E2 >
bool CDPL::Math::solveUnitLower (const MatrixExpression< E1 > &e1, MatrixExpression< E2 > &e2)
 Solves \( L\,X = B \) in place column-wise by forward-substitution, where e1 is a unit lower-triangular matrix. More...
 
template<typename E1 , typename E2 >
bool CDPL::Math::solveUpper (const MatrixExpression< E1 > &e1, VectorExpression< E2 > &e2)
 Solves \( U\,x = b \) in place by back-substitution, where e1 is an upper-triangular matrix. More...
 
template<typename E1 , typename E2 >
bool CDPL::Math::solveUnitUpper (const MatrixExpression< E1 > &e1, VectorExpression< E2 > &e2)
 Solves \( U\,x = b \) in place by back-substitution, where e1 is a unit upper-triangular matrix (1 on the diagonal). More...
 
template<typename E1 , typename E2 >
bool CDPL::Math::solveUpper (const MatrixExpression< E1 > &e1, MatrixExpression< E2 > &e2)
 Solves \( U\,X = B \) in place column-wise by back-substitution, where e1 is an upper-triangular matrix. More...
 
template<typename E1 , typename E2 >
bool CDPL::Math::solveUnitUpper (const MatrixExpression< E1 > &e1, MatrixExpression< E2 > &e2)
 Solves \( U\,X = B \) in place column-wise by back-substitution, where e1 is a unit upper-triangular matrix. More...
 

Detailed Description

Functions for solving linear equations.