RAPI
Defines | Enumerations | Functions
R_ext/stats_package.h File Reference
#include <Rconfig.h>
Include dependency graph for stats_package.h:

Go to the source code of this file.

Defines

#define attribute_hidden

Enumerations

enum  AlgType { NREG = 1, OPT = 2 }
enum  VPos {
  F = 9, F0 = 12, FDIF = 10, G = 27,
  HC = 70
}
enum  IVPos {
  AI = 90, AM = 94, ALGSAV = 50, COVMAT = 25,
  COVPRT = 13, COVREQ = 14, DRADPR = 100, DTYPE = 15,
  IERR = 74, INITH = 24, INITS = 24, IPIVOT = 75,
  IVNEED = 2, LASTIV = 42, LASTV = 44, LMAT = 41,
  MXFCAL = 16, MXITER = 17, NEXTV = 46, NFCALL = 5,
  NFCOV = 51, NFGCAL = 6, NGCOV = 52, NITER = 30,
  NVDFLT = 49, NVSAVE = 8, OUTLEV = 18, PARPRT = 19,
  PARSAV = 48, PERM = 57, PRUNIT = 20, QRTYP = 79,
  RDREQ = 56, RMAT = 77, SOLPRT = 21, STATPR = 22,
  TOOBIG = 1, VNEED = 3, VSAVE = 59, X0PRT = 23
}

Functions

void attribute_hidden S_Rf_divset (int alg, int iv[], int liv, int lv, double v[])
void attribute_hidden S_nlsb_iterate (double b[], double d[], double dr[], int iv[], int liv, int lv, int n, int nd, int p, double r[], double rd[], double v[], double x[])
void attribute_hidden S_nlminb_iterate (double b[], double d[], double fx, double g[], double h[], int iv[], int liv, int lv, int n, double v[], double x[])

Define Documentation


Enumeration Type Documentation

enum AlgType
Enumerator:
NREG 
OPT 
{NREG = 1, OPT = 2};
enum IVPos
Enumerator:
AI 
AM 
ALGSAV 
COVMAT 
COVPRT 
COVREQ 
DRADPR 
DTYPE 
IERR 
INITH 
INITS 
IPIVOT 
IVNEED 
LASTIV 
LASTV 
LMAT 
MXFCAL 
MXITER 
NEXTV 
NFCALL 
NFCOV 
NFGCAL 
NGCOV 
NITER 
NVDFLT 
NVSAVE 
OUTLEV 
PARPRT 
PARSAV 
PERM 
PRUNIT 
QRTYP 
RDREQ 
RMAT 
SOLPRT 
STATPR 
TOOBIG 
VNEED 
VSAVE 
X0PRT 
           {AI = 90, AM = 94, ALGSAV = 50, COVMAT = 25,
        COVPRT = 13, COVREQ = 14, DRADPR = 100,
        DTYPE = 15, IERR = 74, INITH = 24, INITS = 24,
        IPIVOT = 75, IVNEED =  2, LASTIV = 42, LASTV = 44,
        LMAT =  41, MXFCAL = 16, MXITER = 17, NEXTV  = 46,
        NFCALL =  5, NFCOV = 51, NFGCAL = 6, NGCOV = 52,
        NITER = 30, NVDFLT = 49, NVSAVE = 8, OUTLEV = 18,
        PARPRT = 19, PARSAV = 48, PERM = 57, PRUNIT = 20,
        QRTYP = 79, RDREQ = 56, RMAT = 77, SOLPRT = 21,
        STATPR = 22, TOOBIG = 1, VNEED = 3, VSAVE = 59,
        X0PRT = 23};
enum VPos
Enumerator:
F 
F0 
FDIF 
G 
HC 
{F = 9, F0 = 12, FDIF = 10, G = 27, HC = 70};

Function Documentation

void attribute_hidden S_nlminb_iterate ( double  b[],
double  d[],
double  fx,
double  g[],
double  h[],
int  iv[],
int  liv,
int  lv,
int  n,
double  v[],
double  x[] 
)
{
    static void(*fun)(double[],double[],double,double[],double[],
              int[],int,int,int,double[],double[]) = NULL;
    if (fun == NULL)
    fun = (void(*)(double[],double[],double,double[],double[],
              int[],int,int,int,double[],double[]))
        R_GetCCallable("stats", "nlminb_iterate");
    fun(b, d, fx, g, h, iv, liv, lv, n, v, x);
}
void attribute_hidden S_nlsb_iterate ( double  b[],
double  d[],
double  dr[],
int  iv[],
int  liv,
int  lv,
int  n,
int  nd,
int  p,
double  r[],
double  rd[],
double  v[],
double  x[] 
)
{
    static void(*fun)(double[],double[],double[],int[],int,int,
              int,int,int,double[],double[],double[],
              double[]) = NULL;
    if (fun == NULL)
    fun = (void(*)(double[],double[],double[],int[],int,
               int, int,int,int,double[],
               double[],double[],double[]))
        R_GetCCallable("stats", "nlsb_iterate");
    fun(b, d, dr, iv, liv, lv, n, nd, p, r, rd, v, x);
}
void attribute_hidden S_Rf_divset ( int  alg,
int  iv[],
int  liv,
int  lv,
double  v[] 
)
{
    static void(*fun)(int,int[],int,int,double[]) = NULL;
    if (fun == NULL)
    fun = (void(*)(int,int[],int,int,double[]))
        R_GetCCallable("stats", "Rf_divset");
    fun(alg, iv, liv, lv, v);
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines