I use Fedore Eclipse IDE to run C++ code. I need to use the Scythe Statistical toolbox which implements random number generators from different functions (gamma, beta etc). I have added the toolbox's location to the path of header files in Eclipse and added the
(available in this toolbox) at the beginning of my code. From 'distribution.h' I need to use the gammafn function. Its function declaration is:
double gammafn (double val)
Therefore in the my C++ code, I just have a function call :
I get an error saying 'undefined function: function not declared in scope'.
I am not sure if I have missed in the code or in Eclipse.