Rcpp Version 1.0.9
Rcpp::sugar::clamp_operator< RTYPE, NA > Struct Template Reference

#include <clamp.h>

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 

Public Member Functions

 clamp_operator (STORAGE lhs_, STORAGE rhs_)
 
STORAGE operator() (STORAGE x) const
 

Public Attributes

STORAGE lhs
 
STORAGE rhs
 

Detailed Description

template<int RTYPE, bool NA>
struct Rcpp::sugar::clamp_operator< RTYPE, NA >

Definition at line 29 of file clamp.h.

Member Typedef Documentation

◆ STORAGE

template<int RTYPE, bool NA>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::clamp_operator< RTYPE, NA >::STORAGE

Definition at line 30 of file clamp.h.

Constructor & Destructor Documentation

◆ clamp_operator()

template<int RTYPE, bool NA>
Rcpp::sugar::clamp_operator< RTYPE, NA >::clamp_operator ( STORAGE  lhs_,
STORAGE  rhs_ 
)
inline

Definition at line 32 of file clamp.h.

Member Function Documentation

◆ operator()()

template<int RTYPE, bool NA>
STORAGE Rcpp::sugar::clamp_operator< RTYPE, NA >::operator() ( STORAGE  x) const
inline

Member Data Documentation

◆ lhs

◆ rhs


The documentation for this struct was generated from the following file: