RAPI
Defines | Functions
R_ext/Utils.h File Reference
#include <R_ext/Boolean.h>
#include <R_ext/Complex.h>
#include <stddef.h>
Include dependency graph for Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define revsort   Rf_revsort
#define iPsort   Rf_iPsort
#define rPsort   Rf_rPsort
#define cPsort   Rf_cPsort
#define IndexWidth   Rf_IndexWidth
#define setIVector   Rf_setIVector
#define setRVector   Rf_setRVector
#define StringFalse   Rf_StringFalse
#define StringTrue   Rf_StringTrue
#define isBlankString   Rf_isBlankString

Functions

void R_isort (int *x, int n)
void R_rsort (double *x, int n)
void R_csort (Rcomplex *x, int n)
void rsort_with_index (double *x, int *indx, int n)
void revsort (double *a, int *ib, int n)
void iPsort (int *x, int n, int k)
void rPsort (double *x, int n, int k)
void cPsort (Rcomplex *x, int n, int k)
void R_qsort (double *v, size_t i, size_t j)
void R_qsort_I (double *v, int *II, int i, int j)
void R_qsort_int (int *iv, size_t i, size_t j)
void R_qsort_int_I (int *iv, int *II, int i, int j)
const char * R_ExpandFileName (const char *)
void setIVector (int *vec, int len, int val)
void setRVector (double *vec, int len, double val)
Rboolean StringFalse (const char *name)
Rboolean StringTrue (const char *name)
Rboolean isBlankString (const char *s)
double R_atof (const char *str)
double R_strtod (const char *c, char **end)
char * R_tmpnam (const char *prefix, const char *tempdir)
char * R_tmpnam2 (const char *prefix, const char *tempdir, const char *fileext)
void R_CheckUserInterrupt (void)
void R_CheckStack (void)
void R_CheckStack2 (size_t extra)
int findInterval (double *xt, int n, double x, Rboolean rightmost_closed, Rboolean all_inside, int ilo, int *mflag)
int findInterval2 (double *xt, int n, double x, Rboolean rightmost_closed, Rboolean all_inside, Rboolean left_open, int ilo, int *mflag)
void find_interv_vec (double *xt, int *n, double *x, int *nx, int *rightmost_closed, int *all_inside, int *indx)
void R_max_col (double *matrix, int *nr, int *nc, int *maxes, int *ties_meth)

Define Documentation

#define cPsort   Rf_cPsort
#define IndexWidth   Rf_IndexWidth
#define iPsort   Rf_iPsort
#define isBlankString   Rf_isBlankString
#define revsort   Rf_revsort
#define rPsort   Rf_rPsort
#define setIVector   Rf_setIVector
#define setRVector   Rf_setRVector
#define StringFalse   Rf_StringFalse
#define StringTrue   Rf_StringTrue

Function Documentation

void cPsort ( Rcomplex x,
int  n,
int  k 
)
void find_interv_vec ( double *  xt,
int *  n,
double *  x,
int *  nx,
int *  rightmost_closed,
int *  all_inside,
int *  indx 
)
int findInterval ( double *  xt,
int  n,
double  x,
Rboolean  rightmost_closed,
Rboolean  all_inside,
int  ilo,
int *  mflag 
)
int findInterval2 ( double *  xt,
int  n,
double  x,
Rboolean  rightmost_closed,
Rboolean  all_inside,
Rboolean  left_open,
int  ilo,
int *  mflag 
)
void iPsort ( int *  x,
int  n,
int  k 
)
Rboolean isBlankString ( const char *  s)
double R_atof ( const char *  str)
void R_CheckStack ( void  )
void R_CheckStack2 ( size_t  extra)
void R_CheckUserInterrupt ( void  )
void R_csort ( Rcomplex x,
int  n 
)
const char* R_ExpandFileName ( const char *  )
void R_isort ( int *  x,
int  n 
)
void R_max_col ( double *  matrix,
int *  nr,
int *  nc,
int *  maxes,
int *  ties_meth 
)
void R_qsort ( double *  v,
size_t  i,
size_t  j 
)
void R_qsort_I ( double *  v,
int *  II,
int  i,
int  j 
)
void R_qsort_int ( int *  iv,
size_t  i,
size_t  j 
)
void R_qsort_int_I ( int *  iv,
int *  II,
int  i,
int  j 
)
void R_rsort ( double *  x,
int  n 
)
double R_strtod ( const char *  c,
char **  end 
)
char* R_tmpnam ( const char *  prefix,
const char *  tempdir 
)
char* R_tmpnam2 ( const char *  prefix,
const char *  tempdir,
const char *  fileext 
)
void revsort ( double *  a,
int *  ib,
int  n 
)
void rPsort ( double *  x,
int  n,
int  k 
)
void rsort_with_index ( double *  x,
int *  indx,
int  n 
)
void setIVector ( int *  vec,
int  len,
int  val 
)
void setRVector ( double *  vec,
int  len,
double  val 
)
Rboolean StringFalse ( const char *  name)
Rboolean StringTrue ( const char *  name)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines