The R Project SVN R

Rev

Rev 87903 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87903 Rev 87907
Line 24... Line 24...
24
/* Not part of the API, not callable from C++ */
24
/* Not part of the API, not callable from C++ */
25
 
25
 
26
#ifndef R_STATS_PACKAGE_H
26
#ifndef R_STATS_PACKAGE_H
27
#define R_STATS_PACKAGE_H
27
#define R_STATS_PACKAGE_H
28
#include <Rconfig.h>
28
#include <Rconfig.h>
-
 
29
#include <R_ext/Visibility.h>
29
 
30
 
-
 
31
/*
30
#ifdef HAVE_VISIBILITY_ATTRIBUTE
32
#ifdef HAVE_VISIBILITY_ATTRIBUTE
31
# define attribute_hidden __attribute__ ((visibility ("hidden")))
33
# define attribute_hidden __attribute__ ((visibility ("hidden")))
32
#else
34
#else
33
# define attribute_hidden
35
# define attribute_hidden
34
#endif
36
#endif
-
 
37
*/
35
 
38
 
36
enum AlgType {NREG = 1, OPT = 2};
39
enum AlgType {NREG = 1, OPT = 2};
37
				/* 0-based indices into v */
40
				/* 0-based indices into v */
38
enum  VPos {F = 9, F0 = 12, FDIF = 10, G = 27, HC = 70};
41
enum  VPos {F = 9, F0 = 12, FDIF = 10, G = 27, HC = 70};
39
				/* 0-based indices into iv */
42
				/* 0-based indices into iv */
Line 50... Line 53...
50
	    X0PRT = 23};
53
	    X0PRT = 23};
51
 
54
 
52
attribute_hidden void
55
attribute_hidden void
53
S_Rf_divset(int alg, int iv[], int liv, int lv, double v[]);
56
S_Rf_divset(int alg, int iv[], int liv, int lv, double v[]);
54
 
57
 
55
attribute_hidden
58
attribute_hidden void
56
S_nlsb_iterate(double b[], double d[], double dr[], int iv[],
59
S_nlsb_iterate(double b[], double d[], double dr[], int iv[],
57
	       int liv, int lv, int n, int nd, int p,
60
	       int liv, int lv, int n, int nd, int p,
58
	       double r[], double rd[], double v[], double x[]);
61
	       double r[], double rd[], double v[], double x[]);
59
 
62
 
60
attribute_hidden void
63
attribute_hidden void