#include <TDSPLinearSolver.h>
Inheritance diagram for TDSPLinearSolver:

Public Member Functions | |
| TDSPLinearSolver (TDSPMatrix *a=NULL, TDSPVector *b=NULL, TDSPVector *y=NULL) | |
| ~TDSPLinearSolver () | |
| virtual void | Print () |
| void | SetMethod (eLinearSolveMethod e) |
| void | SetA (TDSPMatrix *a) |
| void | SetA (TDSPMatrix &a) |
| void | SetB (TDSPVector *b) |
| void | SetB (TDSPVector &b) |
| void | Guess (TDSPVector *g) |
| void | Guess (TDSPVector &g) |
| void | Set (TDSPMatrix *a, TDSPVector *b, TDSPVector *y) |
| void | SetMaxIterations (UInt_t m) |
| void | SetStopPrecision (Double_t e) |
| void | SetSerialHD (UInt_t start) |
| void | SetParalleHD (UInt_t start) |
| eLinearSolveMethod | GetMethod () const |
| eLinearSolveMethod | Method () const |
| TDSPVector * | B () const |
| TDSPVector * | GetB () const |
| TDSPMatrix * | A () const |
| TDSPMatrix * | GetA () const |
| UInt_t | GetMaxIterations () const |
| UInt_t | GetIterations () const |
| Double_t | GetMeanIterations () const |
| Double_t | GetStopPrecision () const |
| Double_t | GetPrecision () const |
| Double_t | GetMeanPrecision () const |
| UInt_t | GetSerialHD () const |
| UInt_t | GetParallelHD () const |
| void | ResetMeans () |
| virtual Int_t | GetNumInputs () |
| virtual Int_t | GetNumOutputs () |
| Bool_t | Solve () |
| Solve - Return kTRUE if there are solutions. | |
| void | StackA (TDSPMatrix *) |
Protected Member Functions | |
| void | _push_means_ () |
| void | _reset_means_ () |
Protected Attributes | |
| eLinearSolveMethod | fMethod |
| TList | fAList |
| UInt_t | fIterations |
| UInt_t | fMaxIterations |
| Double_t | fMeanIterations |
| Double_t | fStopPrecision |
| Double_t | fPrecision |
| Double_t | fMeanPrecision |
| UInt_t | fAccumulation |
| Bool_t | fUsingAStack |
| Use a Stack for the A-Matrices ? | |
| TDSPVector * | fB |
| TDSPMatrix * | fA |
| Vector b in the equation y=Ax+b. | |
| TDSPVector * | fGuessX |
| Matrix a in the equation y=Ax+b. | |
| UInt_t | fIter_Serial_HD |
| initial Guess of X | |
| UInt_t | fIter_Parallel_HD |
| TDSPVector | Xtmp |
|
||||||||||||||||
|
|
|
|
|
|
|
Definition at line 156 of file TDSPLinearSolver.h. References fAccumulation, fIterations, fMeanIterations, fMeanPrecision, and fPrecision.
00156 {
00157 fMeanIterations = (fAccumulation*fMeanIterations+fIterations);
00158 fMeanPrecision = (fAccumulation*fMeanPrecision+fPrecision);
00159 fMeanIterations /= ++fAccumulation;
00160 fMeanPrecision /= fAccumulation;
00161 }
|
|
|
Definition at line 163 of file TDSPLinearSolver.h. References fAccumulation, fMeanIterations, and fMeanPrecision. Referenced by ResetMeans().
00163 {
00164 fAccumulation = 0;
00165 fMeanIterations = 0;
00166 fMeanPrecision = 0;
00167 }
|
|
|
Definition at line 116 of file TDSPLinearSolver.h. References fA.
00116 { return fA; }; // Get the Matrix a of the equation y=Ax+b
|
|
|
Definition at line 114 of file TDSPLinearSolver.h. References fB.
00114 { return fB; }; // Get the Vector b of the equation y=Ax+b
|
|
|
Definition at line 117 of file TDSPLinearSolver.h. References fA.
00117 { return fA; }; // Get the Matrix a of the equation y=Ax+b
|
|
|
Definition at line 115 of file TDSPLinearSolver.h. References fB.
00115 { return fB; }; // Get the Vector b of the equation y=Ax+b
|
|
|
Definition at line 120 of file TDSPLinearSolver.h. References fIterations.
00120 { return fIterations;}; // Get the last number of iterations
|
|
|
Definition at line 119 of file TDSPLinearSolver.h. References fMaxIterations.
00119 { return fMaxIterations;}; // Get the maximal number of iterations
|
|
|
Definition at line 121 of file TDSPLinearSolver.h. References fMeanIterations.
00121 { return fMeanIterations;}; // Get the mean number of iterations
|
|
|
Definition at line 125 of file TDSPLinearSolver.h. References fMeanPrecision.
00125 { return fMeanPrecision;}; // Get the Mean Precision
|
|
|
Definition at line 111 of file TDSPLinearSolver.h. References eLinearSolveMethod, and fMethod.
00111 { return fMethod;}; // Get Method
|
|
|
Implements TDSPSolver. Definition at line 144 of file TDSPLinearSolver.h. References fA, and TDSPMatrix::GetCols().
|
|
|
Implements TDSPSolver. Definition at line 150 of file TDSPLinearSolver.h. References fA, and TDSPMatrix::GetRows().
|
|
|
Definition at line 128 of file TDSPLinearSolver.h. References fIter_Parallel_HD.
00128 { return fIter_Parallel_HD;};
|
|
|
Definition at line 124 of file TDSPLinearSolver.h. References fPrecision.
00124 { return fPrecision;}; // Get the Last Precision
|
|
|
Definition at line 127 of file TDSPLinearSolver.h. References fIter_Serial_HD.
00127 { return fIter_Serial_HD;};
|
|
|
Definition at line 123 of file TDSPLinearSolver.h. References fStopPrecision.
00123 { return fStopPrecision;}; // Get the Stop Precision
|
|
|
Definition at line 101 of file TDSPLinearSolver.h. References Guess().
00101 { Guess(&g);}; // Set the initial Guess of Vector x of the equation y=Ax+b
|
|
|
Definition at line 100 of file TDSPLinearSolver.h. References fGuessX. Referenced by Guess().
00100 { fGuessX = g;}; // Set the initial Guess of Vector x of the equation y=Ax+b
|
|
|
Definition at line 112 of file TDSPLinearSolver.h. References eLinearSolveMethod, and fMethod.
00112 { return fMethod;}; // Get Method
|
|
|
Implements TDSPSolver. |
|
|
Definition at line 130 of file TDSPLinearSolver.h. References _reset_means_().
00130 { _reset_means_();};
|
|
||||||||||||||||
|
Definition at line 102 of file TDSPLinearSolver.h. References SetA(), SetB(), and TDSPSolver::SetY().
|
|
|
Definition at line 97 of file TDSPLinearSolver.h. References SetA().
00097 { SetA(&a);}; // Set the Matrix a of the equation y=Ax+b
|
|
|
|
|
|
Definition at line 99 of file TDSPLinearSolver.h. References SetB().
00099 { SetB(&b);}; // Set the Vector b of the equation y=Ax+b
|
|
|
Definition at line 98 of file TDSPLinearSolver.h. References fB. Referenced by Set(), and SetB().
00098 { fB = b;}; // Set the Vector b of the equation y=Ax+b
|
|
|
Definition at line 105 of file TDSPLinearSolver.h. References fMaxIterations.
00105 { fMaxIterations=m;}; // Set the maximal number of iterations
|
|
|
Definition at line 94 of file TDSPLinearSolver.h. References fMethod.
00094 { fMethod = e;}; // Set Method
|
|
|
Definition at line 109 of file TDSPLinearSolver.h. References fIter_Parallel_HD.
00109 { fIter_Parallel_HD = start; } // Use Parallel Hard Decisions for Iterations>=start
|
|
|
Definition at line 108 of file TDSPLinearSolver.h. References fIter_Serial_HD.
00108 { fIter_Serial_HD = start; } // Use Serial Hard Decisions for Iterations>=start
|
|
|
Definition at line 106 of file TDSPLinearSolver.h. References fStopPrecision.
00106 { fStopPrecision = e;}; // Set the Stop Precision
|
|
|
Solve - Return kTRUE if there are solutions.
Implements TDSPSolver. |
|
|
|
|
|
Vector b in the equation y=Ax+b.
Definition at line 67 of file TDSPLinearSolver.h. Referenced by A(), GetA(), GetNumInputs(), and GetNumOutputs(). |
|
|
Definition at line 57 of file TDSPLinearSolver.h. Referenced by _push_means_(), and _reset_means_(). |
|
|
Definition at line 47 of file TDSPLinearSolver.h. |
|
|
Definition at line 66 of file TDSPLinearSolver.h. |
|
|
Matrix a in the equation y=Ax+b.
Definition at line 69 of file TDSPLinearSolver.h. Referenced by Guess(). |
|
|
Definition at line 75 of file TDSPLinearSolver.h. Referenced by GetParallelHD(), and SetParalleHD(). |
|
|
initial Guess of X
Definition at line 74 of file TDSPLinearSolver.h. Referenced by GetSerialHD(), and SetSerialHD(). |
|
|
Definition at line 49 of file TDSPLinearSolver.h. Referenced by _push_means_(), and GetIterations(). |
|
|
Definition at line 50 of file TDSPLinearSolver.h. Referenced by GetMaxIterations(), and SetMaxIterations(). |
|
|
Definition at line 51 of file TDSPLinearSolver.h. Referenced by _push_means_(), _reset_means_(), and GetMeanIterations(). |
|
|
Definition at line 55 of file TDSPLinearSolver.h. Referenced by _push_means_(), _reset_means_(), and GetMeanPrecision(). |
|
|
Definition at line 45 of file TDSPLinearSolver.h. Referenced by GetMethod(), Method(), and SetMethod(). |
|
|
Definition at line 54 of file TDSPLinearSolver.h. Referenced by _push_means_(), and GetPrecision(). |
|
|
Definition at line 53 of file TDSPLinearSolver.h. Referenced by GetStopPrecision(), and SetStopPrecision(). |
|
|
Use a Stack for the A-Matrices ?
Definition at line 59 of file TDSPLinearSolver.h. |
|
|
Definition at line 79 of file TDSPLinearSolver.h. |
1.3.2