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

Go to the source code of this file.


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


 Rcpp API.


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)