Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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

namespace  Rcpp
 Rcpp API.
namespace  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)