Rcpp Version 0.12.12
Rcpp::sugar::detail Namespace Reference

Classes

struct  ColMeansReturn
 
struct  ColSumsReturn
 
struct  RowMeansReturn
 
struct  RowMeansReturn< CPLXSXP >
 
struct  RowSumsReturn
 
struct  RowSumsReturn< LGLSXP >
 

Functions

bool check_na (double x)
 
bool check_na (int x)
 
bool check_na (Rboolean x)
 
bool check_na (SEXP x)
 
bool check_na (Rcomplex x)
 
void incr (double *lhs, double rhs)
 
void incr (int *lhs, int rhs)
 
void incr (Rcomplex *lhs, const Rcomplex &rhs)
 
void div (double *lhs, R_xlen_t rhs)
 
void div (Rcomplex *lhs, R_xlen_t rhs)
 
void set_nan (double *x)
 
void set_nan (Rcomplex *x)
 
bool isws (const char c)
 
const char * trim_left (const char *str)
 
const char * trim_right (const char *str, R_len_t sz, std::string *buff)
 
const char * trim_both (const char *str, R_len_t sz, std::string *buff)
 

Function Documentation

bool Rcpp::sugar::detail::check_na ( int  x)
inline

Definition at line 34 of file rowSums.h.

bool Rcpp::sugar::detail::check_na ( Rboolean  x)
inline

Definition at line 38 of file rowSums.h.

bool Rcpp::sugar::detail::check_na ( SEXP  x)
inline

Definition at line 42 of file rowSums.h.

bool Rcpp::sugar::detail::check_na ( Rcomplex  x)
inline

Definition at line 46 of file rowSums.h.

void Rcpp::sugar::detail::div ( Rcomplex *  lhs,
R_xlen_t  rhs 
)
inline

Definition at line 69 of file rowSums.h.

void Rcpp::sugar::detail::incr ( int *  lhs,
int  rhs 
)
inline

Definition at line 55 of file rowSums.h.

void Rcpp::sugar::detail::incr ( Rcomplex *  lhs,
const Rcomplex &  rhs 
)
inline

Definition at line 59 of file rowSums.h.

bool Rcpp::sugar::detail::isws ( const char  c)
inline

Definition at line 36 of file trimws.h.

Referenced by trim_both(), trim_left(), and trim_right().

void Rcpp::sugar::detail::set_nan ( double *  x)
inline
void Rcpp::sugar::detail::set_nan ( Rcomplex *  x)
inline

Definition at line 79 of file rowSums.h.

const char* Rcpp::sugar::detail::trim_both ( const char *  str,
R_len_t  sz,
std::string *  buff 
)
inline

Definition at line 66 of file trimws.h.

References isws().

Referenced by Rcpp::trimws().

Here is the call graph for this function:

const char* Rcpp::sugar::detail::trim_left ( const char *  str)
inline

Definition at line 40 of file trimws.h.

References isws().

Referenced by Rcpp::trimws().

Here is the call graph for this function:

const char* Rcpp::sugar::detail::trim_right ( const char *  str,
R_len_t  sz,
std::string *  buff 
)
inline

Definition at line 52 of file trimws.h.

References isws().

Referenced by Rcpp::trimws().

Here is the call graph for this function: