C++ main module for emicrom Package  1.0
MATH_ConjugateGradientSquared.h
Go to the documentation of this file.
1 #ifndef MATH_ConjugateGradientSquared_H
2 #define MATH_ConjugateGradientSquared_H
3 
4 #include "MATH_Solver.h"
5 
6 
38 
41 
42 private:
43 
44  SP::MATH_Vector mRtilde,mU,mP,mQ,mXmin;
45 
46 protected:
47 
51 
54  virtual ~MATH_ConjugateGradientSquared(void);
55 
56 public:
60  inline static SP::MATH_ConjugateGradientSquared New() {
61  SP::MATH_ConjugateGradientSquared p(new MATH_ConjugateGradientSquared(),
63  p->setThis(p);
64  return p;
65  }
77  virtual tBoolean solve(const MATH_Matrix& A,MATH_Vector& b,MATH_Vector& x,MATH_Vector& w);
78 
79 
80 
81 };
82 #endif
SP_OBJECT(MATH_ConjugateGradientSquared)
This class describes a general matrix interface used in solver.
Definition: MATH_Matrix.h:20
virtual tBoolean solve(const MATH_Matrix &A, MATH_Vector &b, MATH_Vector &x, MATH_Vector &w)
solve
Definition: MATH_ConjugateGradientSquared.cpp:15
#define tBoolean
Definition: types.h:139
MATH_ConjugateGradientSquared(void)
create a solver
Definition: MATH_ConjugateGradientSquared.cpp:6
DEFINE_SPTR(MATH_ConjugateGradientSquared)
SP::MATH_Vector mRtilde
Definition: MATH_ConjugateGradientSquared.h:44
virtual ~MATH_ConjugateGradientSquared(void)
destroy a solver
Definition: MATH_ConjugateGradientSquared.cpp:11
SP::MATH_Vector mU
Definition: MATH_ConjugateGradientSquared.h:44
SP::MATH_Vector mXmin
Definition: MATH_ConjugateGradientSquared.h:44
This class describes a masked vector.
Definition: MATH_Vector.h:16
This class describes a solver of Ax=b.
Definition: MATH_Solver.h:18
static SP::MATH_ConjugateGradientSquared New()
return a share pointer of a conjugate gradient solver
Definition: MATH_ConjugateGradientSquared.h:60
SP::MATH_Vector mP
Definition: MATH_ConjugateGradientSquared.h:44
This class describes a solver of Ax=b when A is not symmetric. The implementation is based on the Bi ...
Definition: MATH_ConjugateGradientSquared.h:39
SP::MATH_Vector mQ
Definition: MATH_ConjugateGradientSquared.h:44
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141