I am trying to solve a quartic polynomial in root in the following fashion:
#include<TMath.h>
#include<Math/Polynomial.h>
#include<complex.h>
#include<vector.h>
ROOT::Math::Polynomial poly(4);
cout<<Gamma[i]<<endl;
double coeffs[5] = {1,4,6,4,1};
poly.SetParameters(coeffs);
vector<complex<double> > roots;
roots = poly.FindNumRoots();
However, I’m getting the following error when the last line runs:
[quote]Error: Symbol G__exception is not defined in current scope AbsorptionCoefficientTran.C:57:
Error: type G__exception not defined FILE:/Users/karstenheeger/Desktop/Work/06-03-08_Optical_Measurements/./AbsorptionCoefficientTran.C LINE:57
[/quote]
I am running 5.19/04 version of root on Mac OS 10.4, and I have GSL 1.11, with gsl-config in my $PATH, which I understand is important form previous threads.
Any help would be greatly appreciated.
Regards,
Bryce Littlejohn
UW-Madison