Dear Laurie.
Thanks for help
I modefined template already but it didn't help.
my source is:
#include <stdio.h>
#include <data.h>
#include <math.h>
#include <utilities.h>
#include <NAG\OCN_s.h>
void _nlsfuser2(
// Fit Parameter(s):
double P1,
// Independent Variable(s):
double x,
// Dependent Variable(s):
double& y,
// Partial Derivative(s):
double& dy_P1)
{
// Beginning of editable part
NagError fail;
y=nag_real_polygamma(x,0,&fail);
// End of editable part
}
But I still have the same error
external DLL cannot find function ONAG: nag_real_polygamma
even if I create new c file using code builder:
#include <origin.h>
#include <stdio.h>
#include <data.h>
#include <math.h>
#include <utilities.h>
#include <NAG\OCN_s.h>
double psi(double P1,double x)
{
double y;
NagError fail;
y=nag_real_polygamma(x,P1,&fail);
return y;
}
I have the same error.
external DLL cannot find function ONAG: nag_real_polygamma
What should I do.
The main purpouse is fit my data be polygamma function.