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

Go to the source code of this file.

Classes

struct  Rcpp::sugar::clamp_operator< RTYPE, NA >
 
struct  Rcpp::sugar::clamp_operator< REALSXP, true >
 
class  Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >
 

Namespaces

 Rcpp
 Rcpp API.
 
 Rcpp::sugar
 

Functions

template<int RTYPE, bool NA, typename T >
sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > Rcpp::clamp (typename Rcpp::traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, NA, T > &vec, typename Rcpp::traits::storage_type< RTYPE >::type rhs)