CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BlockSolver.h
Go to the documentation of this file.
1 #ifndef __CINT__
2 #ifndef BlockSolver_H
3 #define BlockSolver_H
4 
5 #include <map>
6 #include <string>
7 #include <vector>
8 
9 #include "CLHEP/Matrix/GenMatrix.h"
10 #include "CLHEP/Matrix/Matrix.h"
11 #include "CLHEP/Matrix/Vector.h"
12 #include "CLHEP/Random/RandGaussQ.h"
13 
15 
26 {
27  int operator () (const CLHEP::HepMatrix & matrix,
28  const CLHEP::HepVector & vector,
29  CLHEP::HepVector & result) ;
30 
31  private :
32 
34  void shrink (const CLHEP::HepMatrix & matrix,
35  CLHEP::HepMatrix & solution,
36  const CLHEP::HepVector & result,
37  CLHEP::HepVector & input,
38  const std::vector<int> & where) ;
40  void pour (CLHEP::HepVector & result,
41  const CLHEP::HepVector & output,
42  const std::vector<int> & where) ;
43 
44 } ;
45 
46 
47 #endif
48 #endif
49 
void shrink(const CLHEP::HepMatrix &matrix, CLHEP::HepMatrix &solution, const CLHEP::HepVector &result, CLHEP::HepVector &input, const std::vector< int > &where)
eliminate empty columns and rows
Definition: BlockSolver.cc:50
int operator()(const CLHEP::HepMatrix &matrix, const CLHEP::HepVector &vector, CLHEP::HepVector &result)
Definition: BlockSolver.cc:11
tuple result
Definition: query.py:137
tuple input
Definition: collect_tpl.py:10
solves at best the matrix invertion for calibration
Definition: BlockSolver.h:25
void pour(CLHEP::HepVector &result, const CLHEP::HepVector &output, const std::vector< int > &where)
pour results in bigger vector
Definition: BlockSolver.cc:92