Rcpp Version 1.0.9
Rcpp::sugar::detail Namespace Reference

Classes

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

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

◆ check_na() [1/5]

◆ check_na() [2/5]

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

Definition at line 34 of file rowSums.h.

◆ check_na() [3/5]

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

Definition at line 38 of file rowSums.h.

◆ check_na() [4/5]

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

Definition at line 46 of file rowSums.h.

◆ check_na() [5/5]

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

Definition at line 42 of file rowSums.h.

◆ div() [1/2]

◆ div() [2/2]

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

Definition at line 69 of file rowSums.h.

◆ incr() [1/3]

◆ incr() [2/3]

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

Definition at line 55 of file rowSums.h.

◆ incr() [3/3]

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

Definition at line 59 of file rowSums.h.

◆ isws()

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().

◆ set_nan() [1/2]

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

◆ set_nan() [2/2]

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

Definition at line 79 of file rowSums.h.

◆ trim_both()

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:

◆ trim_left()

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:

◆ trim_right()

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: