Good Morning Root Users!
Today I stumbled upon the obnoxious problem of inverting a NxN matrix.
The only decent piece of code that I have found on the web is @ bit.ly/299qjz1
However, when I try to use it, i get an error:
That’s strange because I did declare the function before the beginning of the root macro smearing2.C, just like the other functions (that work fine). In fact I’ve simply copied and pasted the whole code just below the other functions that I use in the macro… I don’t understand.
Thanks a lot in advance!
P.S.
This is the beginning of the macro:
void smearing2(){
using namespace std;
double R[NBIN][NBIN];
double Rinv[NBIN][NBIN];