Rcpp Version 1.0.9
ifelse.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >
 
class  Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >
 
class  Rcpp::sugar::IfElse_Primitive_Vector< RTYPE, COND_NA, COND_T, RHS_NA, RHS_T >
 
class  Rcpp::sugar::IfElse_Primitive_Vector< RTYPE, false, COND_T, RHS_NA, RHS_T >
 
class  Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >
 
class  Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >
 
class  Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >
 
class  Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >
 

Namespaces

 Rcpp
 Rcpp API.
 
 Rcpp::sugar
 

Functions

template<int RTYPE, bool COND_NA, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T >
sugar::IfElse_Primitive_Vector< RTYPE, COND_NA, COND_T, RHS_NA, RHS_T > Rcpp::ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, typename traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T >
sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, RHS_NA, RHS_T > Rcpp::ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &lhs, typename traits::storage_type< RTYPE >::type rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< REALSXP, COND_NA, COND_T > Rcpp::ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, double lhs, double rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< INTSXP, COND_NA, COND_T > Rcpp::ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, int lhs, int rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< CPLXSXP, COND_NA, COND_T > Rcpp::ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, Rcomplex lhs, Rcomplex rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< LGLSXP, COND_NA, COND_T > Rcpp::ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, bool lhs, bool rhs)