Namespaces | Typedefs | Functions
scalarMatrices.H File Reference
Include dependency graph for scalarMatrices.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Typedefs

typedef RectangularMatrix< scalar > scalarRectangularMatrix
 
typedef SquareMatrix< scalar > scalarSquareMatrix
 
typedef SymmetricSquareMatrix< scalar > scalarSymmetricSquareMatrix
 
typedef DiagonalMatrix< scalar > scalarDiagonalMatrix
 

Functions

template<class Type >
void solve (scalarSquareMatrix &matrix, List< Type > &source)
 Solve the matrix using Gaussian elimination with pivoting,. More...
 
template<class Type >
void solve (List< Type > &psi, const scalarSquareMatrix &matrix, const List< Type > &source)
 Solve the matrix using Gaussian elimination with pivoting. More...
 
void LUDecompose (scalarSquareMatrix &matrix, labelList &pivotIndices)
 LU decompose the matrix with pivoting. More...
 
void LUDecompose (scalarSquareMatrix &matrix, labelList &pivotIndices, label &sign)
 LU decompose the matrix with pivoting. More...
 
void LUDecompose (scalarSymmetricSquareMatrix &matrix)
 LU decompose the matrix into a lower (L) and upper (U) part. U = L.T() More...
 
template<class Type >
void LUBacksubstitute (const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, List< Type > &source)
 LU back-substitution with given source, returning the solution. More...
 
template<class Type >
void LUBacksubstitute (const scalarSymmetricSquareMatrix &luMmatrix, List< Type > &source)
 LU back-substitution with given source, returning the solution. More...
 
template<class Type >
void LUsolve (scalarSquareMatrix &matrix, List< Type > &source)
 Solve the matrix using LU decomposition with pivoting. More...
 
template<class Type >
void LUsolve (scalarSymmetricSquareMatrix &matrix, List< Type > &source)
 Solve the matrix using LU decomposition returning the LU form of the matrix. More...
 
template<class Form , class Type >
void multiply (Matrix< Form, Type > &answer, const Matrix< Form, Type > &A, const Matrix< Form, Type > &B)
 
void multiply (scalarRectangularMatrix &answer, const scalarRectangularMatrix &A, const scalarRectangularMatrix &B, const scalarRectangularMatrix &C)
 
void multiply (scalarRectangularMatrix &answer, const scalarRectangularMatrix &A, const DiagonalMatrix< scalar > &B, const scalarRectangularMatrix &C)
 
void multiply (scalarSquareMatrix &answer, const scalarSquareMatrix &A, const DiagonalMatrix< scalar > &B, const scalarSquareMatrix &C)
 
scalarRectangularMatrix SVDinv (const scalarRectangularMatrix &A, scalar minCondition=0)
 Return the inverse of matrix A using SVD. More...
 

Detailed Description

Original source file scalarMatrices.H

Definition in file scalarMatrices.H.