1 #ifndef GenericHouseholder_h
2 #define GenericHouseholder_h
26 std::vector<float>
iterate(
const std::vector<std::vector<float> >& eventMatrix,
const std::vector<float>& energyVector,
const int nIter);
29 std::vector<float>
iterate(
const std::vector<std::vector<float> >& eventMatrix,
const std::vector<float>& energyVector);
36 bool decompose(
const int m,
const int n, std::vector<std::vector<float> >& qr, std::vector<float>&
alpha, std::vector<int>& pivot);
40 void solve(
int m,
int n,
const std::vector<std::vector<float> > &qr,
const std::vector<float> &alpha,
const std::vector<int> &pivot, std::vector<float> &
r, std::vector<float> &
y);
bool decompose(const int m, const int n, std::vector< std::vector< float > > &qr, std::vector< float > &alpha, std::vector< int > &pivot)
void solve(int m, int n, const std::vector< std::vector< float > > &qr, const std::vector< float > &alpha, const std::vector< int > &pivot, std::vector< float > &r, std::vector< float > &y)
GenericHouseholder(bool normalise=false)
std::vector< float > iterate(const std::vector< std::vector< float > > &eventMatrix, const std::vector< float > &energyVector, const int nIter)
run the Householder Algorithm several times (nIter). Returns the final vector of calibration coeffici...
~GenericHouseholder()
Destructor.