ROOT::Math Header?


I am trying to compile a code, but I am getting this message:

qm3.cxx:71:14: error: ‘sph_neumann’ is not a member of ‘ROOT::Math’ double temp=ROOT::Math::sph_neumann(l,x);

I have been searching through to find the list of header files that is required to run ROOT::Math online, with zero success. Will someone tell me what I need to be including to get the ROOT::Math::function packages to run properly.

Furthermore, is there any list of header files for ROOT that is available online?

Thank you.


Try to #include “Math/SpecFunc.h”

[quote]/tmp/ccEhPoNS.o: In function bessel(double, int)': qm3.cxx:(.text+0xfd): undefined reference toROOT::Math::sph_bessel(unsigned int, double)’
/tmp/ccEhPoNS.o: In function neumann(double, int)': qm3.cxx:(.text+0x1bb): undefined reference toROOT::Math::sph_neumann(unsigned int, double)'
collect2: error: ld returned 1 exit status

Try to add -lMathMore

Will you elaborate please? Regarding adding -lmathmore

root-config --libs -lMathMore

Perfect, thank you.

I may need to use other ROOT::Math functions, where could I find the reference for the headers?

root-config --incdir :mrgreen:

/home/SJL/ROOT/include: file not recognized: Is a directory collect2: error: ld returned 1 exit status Compilation failed

Sorry, my brain feels half-dead. Thank you.