Open CASCADE Technology 7.8.2.dev
math_Recipes.hxx File Reference

Typedefs

using math_IntegerVector = math_VectorBase<int>
 
using math_Vector = math_VectorBase<double>
 

Functions

Standard_Integer LU_Decompose (math_Matrix &a, math_IntegerVector &indx, Standard_Real &d, Standard_Real TINY=1.0e-20, const Message_ProgressRange &theProgress=Message_ProgressRange())
 
Standard_Integer LU_Decompose (math_Matrix &a, math_IntegerVector &indx, Standard_Real &d, math_Vector &vv, Standard_Real TINY=1.0e-30, const Message_ProgressRange &theProgress=Message_ProgressRange())
 
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_UserAborted = -1
 
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
 

Typedef Documentation

◆ math_IntegerVector

◆ math_Vector

using math_Vector = math_VectorBase<double>

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()

◆ LU_Decompose() [1/2]

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

◆ LU_Decompose() [2/2]

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

◆ 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

◆ math_Status_UserAborted

const Standard_Integer math_Status_UserAborted = -1