Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC > Class Template Reference

#include <Vectorized_Math.h>

Inheritance diagram for Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >:
Collaboration diagram for Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >:

Public Types

typedef Rcpp::VectorBase< INTSXP, NA, VEC > VEC_TYPE
typedef Rcpp::traits::Extractor< INTSXP, NA, VEC >::type VEC_EXT
Public Types inherited from Rcpp::VectorBase< REALSXP, NA, Vectorized_INTSXP< Func, NA, VEC > >
typedef traits::storage_type< RTYPE >::type stored_type
typedef traits::storage_type< RTYPE >::type elem_type
typedef iter_base< iter_traits > iterator
typedef iter_base< const_iter_traits > const_iterator

Public Member Functions

 Vectorized_INTSXP (const VEC_TYPE &object_)
double operator[] (R_xlen_t i) const
R_xlen_t size () const
Public Member Functions inherited from Rcpp::VectorBase< REALSXP, NA, Vectorized_INTSXP< Func, NA, VEC > >
Vectorized_INTSXP< Func, NA, VEC > & get_ref ()
stored_type operator[] (R_xlen_t i) const
R_xlen_t size () const
const_iterator begin () const
const_iterator end () const
const_iterator cbegin () const
const_iterator cend () const

Private Attributes

const VEC_EXTobject

Detailed Description

template<DDFun Func, bool NA, typename VEC>
class Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >

Definition at line 47 of file Vectorized_Math.h.

Member Typedef Documentation

◆ VEC_EXT

template<DDFun Func, bool NA, typename VEC>
typedef Rcpp::traits::Extractor<INTSXP,NA,VEC>::type Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >::VEC_EXT

Definition at line 50 of file Vectorized_Math.h.

◆ VEC_TYPE

template<DDFun Func, bool NA, typename VEC>
typedef Rcpp::VectorBase<INTSXP,NA,VEC> Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >::VEC_TYPE

Definition at line 49 of file Vectorized_Math.h.

Constructor & Destructor Documentation

◆ Vectorized_INTSXP()

template<DDFun Func, bool NA, typename VEC>
Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >::Vectorized_INTSXP ( const VEC_TYPE & object_)
inline

Definition at line 52 of file Vectorized_Math.h.

References Rcpp::VectorBase< REALSXP, NA, Vectorized_INTSXP< Func, NA, VEC > >::get_ref(), and object.

Here is the call graph for this function:

Member Function Documentation

◆ operator[]()

template<DDFun Func, bool NA, typename VEC>
double Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >::operator[] ( R_xlen_t i) const
inline

Definition at line 53 of file Vectorized_Math.h.

◆ size()

template<DDFun Func, bool NA, typename VEC>
R_xlen_t Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >::size ( ) const
inline

Definition at line 58 of file Vectorized_Math.h.

Member Data Documentation

◆ object

template<DDFun Func, bool NA, typename VEC>
const VEC_EXT& Rcpp::sugar::Vectorized_INTSXP< Func, NA, VEC >::object
private

Definition at line 61 of file Vectorized_Math.h.

Referenced by Vectorized_INTSXP().


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