37 #define STATS_STUBS_H 1
41 #include <R_ext/Rdynload.h>
43 #ifdef HAVE_VISIBILITY_ATTRIBUTE
44 # define attribute_hidden __attribute__ ((visibility ("hidden")))
46 # define attribute_hidden
54 S_Rf_divset(
int alg,
int iv[],
int liv,
int lv,
double v[])
56 static void(*fun)(int,
int[],int,int,
double[]) = NULL;
58 fun = (void(*)(int,
int[],int,int,
double[]))
59 R_GetCCallable(
"stats",
"Rf_divset");
60 fun(alg, iv, liv, lv, v);
64 S_nlminb_iterate(
double b[],
double d[],
double fx,
double g[],
double h[],
65 int iv[],
int liv,
int lv,
int n,
double v[],
double x[])
67 static void(*fun)(
double[],
double[],double,
double[],
double[],
68 int[],int,int,int,
double[],
double[]) = NULL;
70 fun = (void(*)(
double[],
double[],double,
double[],
double[],
71 int[],int,int,int,
double[],
double[]))
72 R_GetCCallable(
"stats",
"nlminb_iterate");
73 fun(b, d, fx, g, h, iv, liv, lv, n, v, x);
77 S_nlsb_iterate(
double b[],
double d[],
double dr[],
int iv[],
int liv,
78 int lv,
int n,
int nd,
int p,
double r[],
double rd[],
79 double v[],
double x[])
81 static void(*fun)(
double[],
double[],
double[],
int[],int,int,
82 int,int,int,
double[],
double[],
double[],
85 fun = (void(*)(
double[],
double[],
double[],
int[],int,
86 int, int,int,int,
double[],
87 double[],
double[],
double[]))
88 R_GetCCallable(
"stats",
"nlsb_iterate");
89 fun(b, d, dr, iv, liv, lv, n, nd, p, r, rd, v, x);