RAPI
Defines | Functions
R_ext/PrtUtil.h File Reference
#include <Rinternals.h>
#include <R_ext/Complex.h>
Include dependency graph for PrtUtil.h:

Go to the source code of this file.

Defines

#define formatLogical   Rf_formatLogical
#define formatInteger   Rf_formatInteger
#define formatReal   Rf_formatReal
#define formatComplex   Rf_formatComplex
#define EncodeLogical   Rf_EncodeLogical
#define EncodeInteger   Rf_EncodeInteger
#define EncodeReal   Rf_EncodeReal
#define EncodeReal0   Rf_EncodeReal0
#define EncodeComplex   Rf_EncodeComplex
#define VectorIndex   Rf_VectorIndex
#define printIntegerVector   Rf_printIntegerVector
#define printRealVector   Rf_printRealVector
#define printComplexVector   Rf_printComplexVector

Functions

void formatLogical (int *x, R_xlen_t n, int *fieldwidth)
void formatInteger (int *x, R_xlen_t n, int *fieldwidth)
void formatReal (double *x, R_xlen_t n, int *w, int *d, int *e, int nsmall)
void formatComplex (Rcomplex *x, R_xlen_t n, int *wr, int *dr, int *er, int *wi, int *di, int *ei, int nsmall)
const char * EncodeLogical (int x, int w)
const char * EncodeInteger (int x, int w)
const char * EncodeReal0 (double x, int w, int d, int e, const char *dec)
const char * EncodeComplex (Rcomplex x, int wr, int dr, int er, int wi, int di, int ei, const char *dec)
const char * EncodeReal (double x, int w, int d, int e, char cdec)
int IndexWidth (R_xlen_t n)
void VectorIndex (R_xlen_t i, int w)
void printIntegerVector (int *, R_xlen_t, int)
void printRealVector (double *, R_xlen_t, int)
void printComplexVector (Rcomplex *, R_xlen_t, int)

Define Documentation

#define EncodeComplex   Rf_EncodeComplex
#define EncodeInteger   Rf_EncodeInteger
#define EncodeLogical   Rf_EncodeLogical
#define EncodeReal   Rf_EncodeReal
#define EncodeReal0   Rf_EncodeReal0
#define formatComplex   Rf_formatComplex
#define formatInteger   Rf_formatInteger
#define formatLogical   Rf_formatLogical
#define formatReal   Rf_formatReal
#define printComplexVector   Rf_printComplexVector
#define printIntegerVector   Rf_printIntegerVector
#define printRealVector   Rf_printRealVector
#define VectorIndex   Rf_VectorIndex

Function Documentation

const char* EncodeComplex ( Rcomplex  x,
int  wr,
int  dr,
int  er,
int  wi,
int  di,
int  ei,
const char *  dec 
)
const char* EncodeInteger ( int  x,
int  w 
)
const char* EncodeLogical ( int  x,
int  w 
)
const char* EncodeReal ( double  x,
int  w,
int  d,
int  e,
char  cdec 
)
const char* EncodeReal0 ( double  x,
int  w,
int  d,
int  e,
const char *  dec 
)
void formatComplex ( Rcomplex x,
R_xlen_t  n,
int *  wr,
int *  dr,
int *  er,
int *  wi,
int *  di,
int *  ei,
int  nsmall 
)
void formatInteger ( int *  x,
R_xlen_t  n,
int *  fieldwidth 
)
void formatLogical ( int *  x,
R_xlen_t  n,
int *  fieldwidth 
)
void formatReal ( double *  x,
R_xlen_t  n,
int *  w,
int *  d,
int *  e,
int  nsmall 
)
int IndexWidth ( R_xlen_t  n)
void printComplexVector ( Rcomplex ,
R_xlen_t  ,
int   
)
void printIntegerVector ( int *  ,
R_xlen_t  ,
int   
)
void printRealVector ( double *  ,
R_xlen_t  ,
int   
)
void VectorIndex ( R_xlen_t  i,
int  w 
)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines