Hi all,
I tried to make the
Matrix inversion examples
tutorial into a routine in the attached code. I get the following compile errors:
root [1] .x anal1.C
…
/home/kwd1/netflix/a1/Analyzer.C: In member function ‘void Analyzer::m1()’:
/home/kwd1/netflix/a1/Analyzer.C:235: error: ‘THilbertMatrixD’ was not declared in this scope
/home/kwd1/netflix/a1/Analyzer.C:321: error: ‘Power’ is not a member of ‘TMath’
/home/kwd1/netflix/a1/Analyzer.C:356: error: ‘Power’ is not a member of ‘TMath’
/home/kwd1/netflix/a1/Analyzer.C:376: error: ‘Power’ is not a member of ‘TMath’
g++: /home/kwd1/netflix/a1/filex0ZAod.o: No such file or directory
Error in : Compilation failed!
is this some kind of scoping problem?
I can delare a ThilbertMatrix from CINT via:
root [3] gSystem->Load(“libMatrix”);
root [4] TMatrixD H_square = THilbertMatrixD(6,6);
root [5]
thanks
Ken
Analyzer.C (11.1 KB)
Analyzer.h (1.11 KB)
anal1.C (313 Bytes)