C++ main module for emicrom Package  1.0
MATH_BiConjugateGradientStabilized.h
Go to the documentation of this file.
1 #ifndef MATH_BiConjugateGradientStabilized_H
2 #define MATH_BiConjugateGradientStabilized_H
3 
4 #include "MATH_Solver.h"
5 
6 
15 
18 
19 private:
20 
21  SP::MATH_Vector mRtilde,mU,mP,mQ,mXmin;
22 
23 protected:
24 
28 
32 
33 public:
37  inline static SP::MATH_BiConjugateGradientStabilized New() {
38  SP::MATH_BiConjugateGradientStabilized p(new MATH_BiConjugateGradientStabilized(),
40  p->setThis(p);
41  return p;
42  }
54  virtual tBoolean solve(const MATH_Matrix& A,MATH_Vector& b,MATH_Vector& x,MATH_Vector& w);
55 
56 
57 
58 };
59 #endif
SP::MATH_Vector mRtilde
Definition: MATH_BiConjugateGradientStabilized.h:21
SP_OBJECT(MATH_BiConjugateGradientStabilized)
This class describes a general matrix interface used in solver.
Definition: MATH_Matrix.h:20
virtual ~MATH_BiConjugateGradientStabilized(void)
destroy a solver
Definition: MATH_BiConjugateGradientStabilized.cpp:11
#define tBoolean
Definition: types.h:139
SP::MATH_Vector mQ
Definition: MATH_BiConjugateGradientStabilized.h:21
MATH_BiConjugateGradientStabilized(void)
create a solver
Definition: MATH_BiConjugateGradientStabilized.cpp:6
static SP::MATH_BiConjugateGradientStabilized New()
return a share pointer of a conjugate gradient solver
Definition: MATH_BiConjugateGradientStabilized.h:37
This class describes a solver of Ax=b when A is not symmetric. The implementation is based on the Bi ...
Definition: MATH_BiConjugateGradientStabilized.h:16
This class describes a masked vector.
Definition: MATH_Vector.h:16
SP::MATH_Vector mU
Definition: MATH_BiConjugateGradientStabilized.h:21
SP::MATH_Vector mP
Definition: MATH_BiConjugateGradientStabilized.h:21
This class describes a solver of Ax=b.
Definition: MATH_Solver.h:18
virtual tBoolean solve(const MATH_Matrix &A, MATH_Vector &b, MATH_Vector &x, MATH_Vector &w)
solve
Definition: MATH_BiConjugateGradientStabilized.cpp:15
SP::MATH_Vector mXmin
Definition: MATH_BiConjugateGradientStabilized.h:21
DEFINE_SPTR(MATH_BiConjugateGradientStabilized)
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141