Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions
MathLin_Gauss.hxx File Reference
#include <MathUtils_Types.hxx>
#include <MathUtils_Config.hxx>
#include <MathUtils_Core.hxx>
#include <math_Vector.hxx>
#include <math_Matrix.hxx>
#include <math_IntegerVector.hxx>
#include <cmath>

Data Structures

struct  MathLin::LUResult
 Result for LU decomposition. More...
 

Namespaces

namespace  MathLin
 

Functions

LUResult MathLin::LU (const math_Matrix &theA, double theMinPivot=1.0e-20)
 Perform LU decomposition of matrix A with partial pivoting. Decomposes A into L*U where L is lower triangular with unit diagonal and U is upper triangular. The result stores L and U in a combined matrix.
 
LinearResult MathLin::Solve (const math_Matrix &theA, const math_Vector &theB, double theMinPivot=1.0e-20)
 Solve linear system AX = B using LU decomposition.
 
LinearMultipleResult MathLin::SolveMultiple (const math_Matrix &theA, const math_Matrix &theB, double theMinPivot=1.0e-20)
 Solve multiple linear systems AX = B where B is a matrix. Each column of B is a separate right-hand side.
 
LinearResult MathLin::Determinant (const math_Matrix &theA, double theMinPivot=1.0e-20)
 Compute determinant of matrix A.
 
InverseResult MathLin::Invert (const math_Matrix &theA, double theMinPivot=1.0e-20)
 Compute inverse of matrix A.