1 #ifndef MATH_ConjugateGradient_H 2 #define MATH_ConjugateGradient_H 78 inline static SP::MATH_ConjugateGradient
New() {
DEFINE_SPTR(MATH_ConjugateGradient)
This class describes a general matrix interface used in solver.
Definition: MATH_Matrix.h:20
#define tBoolean
Definition: types.h:139
MATH_ConjugateGradient(void)
create a solver
Definition: MATH_ConjugateGradient.cpp:6
This class describes a solver of Ax=b when A is symmetric and positive definite. The implementation i...
Definition: MATH_ConjugateGradient.h:57
SP_OBJECT(MATH_ConjugateGradient)
static SP::MATH_ConjugateGradient New()
return a share pointer of a conjugate gradient solver
Definition: MATH_ConjugateGradient.h:78
This class describes a masked vector.
Definition: MATH_Vector.h:16
virtual ~MATH_ConjugateGradient(void)
destroy a solver
Definition: MATH_ConjugateGradient.cpp:11
virtual tBoolean solve(const MATH_Matrix &A, MATH_Vector &b, MATH_Vector &x, MATH_Vector &w)
solve
Definition: MATH_ConjugateGradient.cpp:15
This class describes a solver of Ax=b.
Definition: MATH_Solver.h:18
SP::MATH_Vector mWork
Definition: MATH_ConjugateGradient.h:62
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141