Open CASCADE Technology  7.3.0
Functions | Variables

math_Recipes.hxx File Reference

#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>

Functions

Standard_Integer LU_Decompose (math_Matrix &a, math_IntegerVector &indx, Standard_Real &d, Standard_Real TINY=1.0e-20)
 
Standard_Integer LU_Decompose (math_Matrix &a, math_IntegerVector &indx, Standard_Real &d, math_Vector &vv, Standard_Real TINY=1.0e-30)
 
void LU_Solve (const math_Matrix &a, const math_IntegerVector &indx, math_Vector &b)
 
Standard_Integer LU_Invert (math_Matrix &a)
 
Standard_Integer SVD_Decompose (math_Matrix &a, math_Vector &w, math_Matrix &v)
 
Standard_Integer SVD_Decompose (math_Matrix &a, math_Vector &w, math_Matrix &v, math_Vector &rv1)
 
void SVD_Solve (const math_Matrix &u, const math_Vector &w, const math_Matrix &v, const math_Vector &b, math_Vector &x)
 
Standard_Integer DACTCL_Decompose (math_Vector &a, const math_IntegerVector &indx, const Standard_Real MinPivot=1.e-20)
 
Standard_Integer DACTCL_Solve (const math_Vector &a, math_Vector &b, const math_IntegerVector &indx, const Standard_Real MinPivot=1.e-20)
 
Standard_Integer Jacobi (math_Matrix &a, math_Vector &d, math_Matrix &v, Standard_Integer &nrot)
 

Variables

const Standard_Integer math_Status_OK = 0
 
const Standard_Integer math_Status_SingularMatrix = 1
 
const Standard_Integer math_Status_ArgumentError = 2
 
const Standard_Integer math_Status_NoConvergence = 3
 

Function Documentation

◆ DACTCL_Decompose()

Standard_Integer DACTCL_Decompose ( math_Vector a,
const math_IntegerVector indx,
const Standard_Real  MinPivot = 1.e-20 
)

◆ DACTCL_Solve()

Standard_Integer DACTCL_Solve ( const math_Vector a,
math_Vector b,
const math_IntegerVector indx,
const Standard_Real  MinPivot = 1.e-20 
)

◆ Jacobi()

Standard_Integer Jacobi ( math_Matrix a,
math_Vector d,
math_Matrix v,
Standard_Integer nrot 
)

◆ LU_Decompose() [1/2]

Standard_Integer LU_Decompose ( math_Matrix a,
math_IntegerVector indx,
Standard_Real d,
Standard_Real  TINY = 1.0e-20 
)

◆ LU_Decompose() [2/2]

Standard_Integer LU_Decompose ( math_Matrix a,
math_IntegerVector indx,
Standard_Real d,
math_Vector vv,
Standard_Real  TINY = 1.0e-30 
)

◆ LU_Invert()

Standard_Integer LU_Invert ( math_Matrix a)

◆ LU_Solve()

void LU_Solve ( const math_Matrix a,
const math_IntegerVector indx,
math_Vector b 
)

◆ SVD_Decompose() [1/2]

Standard_Integer SVD_Decompose ( math_Matrix a,
math_Vector w,
math_Matrix v 
)

◆ SVD_Decompose() [2/2]

Standard_Integer SVD_Decompose ( math_Matrix a,
math_Vector w,
math_Matrix v,
math_Vector rv1 
)

◆ SVD_Solve()

void SVD_Solve ( const math_Matrix u,
const math_Vector w,
const math_Matrix v,
const math_Vector b,
math_Vector x 
)

Variable Documentation

◆ math_Status_ArgumentError

const Standard_Integer math_Status_ArgumentError = 2

◆ math_Status_NoConvergence

const Standard_Integer math_Status_NoConvergence = 3

◆ math_Status_OK

const Standard_Integer math_Status_OK = 0

◆ math_Status_SingularMatrix

const Standard_Integer math_Status_SingularMatrix = 1