Rcpp Version 1.0.14
Loading...
Searching...
No Matches
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 chartrim_left (const char *str)
 
const chartrim_right (const char *str, R_len_t sz, std::string *buff)
 
const chartrim_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.

References Rcpp::as().

Here is the call graph for this function:

◆ check_na() [3/5]

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

Definition at line 38 of file rowSums.h.

References Rcpp::as().

Here is the call graph for this function:

◆ check_na() [4/5]

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

Definition at line 46 of file rowSums.h.

References Rcpp::as().

Here is the call graph for this function:

◆ check_na() [5/5]

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

Definition at line 42 of file rowSums.h.

References Rcpp::as().

Here is the call graph for this function:

◆ 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.

References Rcpp::as().

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

Here is the call graph for this function:

◆ set_nan() [1/2]

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

Definition at line 75 of file rowSums.h.

References Rcpp::as().

Referenced by Rcpp::sugar::RowMeansImpl< RTYPE, NA, T, true >::get(), and Rcpp::sugar::ColMeansImpl< RTYPE, NA, T, true >::get().

Here is the call graph for this function:

◆ set_nan() [2/2]

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

Definition at line 79 of file rowSums.h.

References Rcpp::as().

Here is the call graph for this function:

◆ 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 Rcpp::as(), and isws().

Referenced by Rcpp::trimws(), Rcpp::trimws(), and 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 Rcpp::as(), and isws().

Referenced by Rcpp::trimws(), Rcpp::trimws(), and 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 Rcpp::as(), and isws().

Referenced by Rcpp::trimws(), Rcpp::trimws(), and Rcpp::trimws().

Here is the call graph for this function: