All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GaussianElimination.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_SOLVERS_GAUSSIANELIMINATION_H_
36 #define _BLAZE_MATH_SOLVERS_GAUSSIANELIMINATION_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
48 
49 
50 namespace blaze {
51 
52 //=================================================================================================
53 //
54 // CLASS DEFINITION
55 //
56 //=================================================================================================
57 
58 //*************************************************************************************************
66 {
67  public:
68  //**Constructors********************************************************************************
71  explicit GaussianElimination();
73  //**********************************************************************************************
74 
75  //**Solver functions****************************************************************************
78  inline bool solve( LSE& lse );
79  bool solve( const CMatMxN& A, const VecN& b, VecN& x );
81  //**********************************************************************************************
82 
83  private:
84  //**Member variables****************************************************************************
88  VecN b_;
89 
90  //**********************************************************************************************
91 };
92 //*************************************************************************************************
93 
94 
95 
96 
97 //=================================================================================================
98 //
99 // SOLVER FUNCTIONS
100 //
101 //=================================================================================================
102 
103 //*************************************************************************************************
114 inline bool GaussianElimination::solve( LSE& lse )
115 {
116  return solve( lse.A_, lse.b_, lse.x_ );
117 }
118 //*************************************************************************************************
119 
120 } // namespace blaze
121 
122 #endif
VecN b_
The right-hand side vector .
Definition: LSE.h:84
VecN x_
The vector of unknowns .
Definition: LSE.h:85
GaussianElimination()
The default constructor for the GaussianElimination class.
Definition: GaussianElimination.cpp:64
bool solve(LSE &lse)
TODO.
Definition: GaussianElimination.h:114
A data structure for linear systems of equations.
A linear system of equations (LSE) data structure.The LSE class represent a linear system of equation...
Definition: LSE.h:65
VecN b_
TODO.
Definition: GaussianElimination.h:88
Header file for the complete DynamicVector implementation.
Header file for the base class of all solvers.
Header file for the complete DynamicMatrix implementation.
CMatMxN A_
The system matrix .
Definition: LSE.h:83
Implementation of the Gaussian elimination direct linear system solver.TODO: description TODO: Proble...
Definition: GaussianElimination.h:65
Header file for the complete CompressedMatrix implementation.
MatMxN A_
TODO.
Definition: GaussianElimination.h:87
Base class for all solver classes.TODO: description of the Solver class TODO: description of its func...
Definition: Solver.h:63