Rcpp Version 0.12.12
Rcpp::sugar::Vectorized< Func, NA, VEC > Class Template Reference

#include <Vectorized_Math.h>

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

Public Types

typedef Rcpp::VectorBase< REALSXP, NA, VEC > VEC_TYPE
 
typedef Rcpp::traits::Extractor< REALSXP, NA, VEC >::type VEC_EXT
 
- Public Types inherited from Rcpp::VectorBase< REALSXP, NA, Vectorized< Func, NA, VEC > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 Vectorized (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< Func, NA, VEC > >
Vectorized< Func, NA, VEC > & get_ref ()
 
const Vectorized< Func, NA, VEC > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

const VEC_EXTobject
 

Detailed Description

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

Definition at line 31 of file Vectorized_Math.h.

Member Typedef Documentation

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

Definition at line 34 of file Vectorized_Math.h.

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

Definition at line 33 of file Vectorized_Math.h.

Constructor & Destructor Documentation

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

Definition at line 36 of file Vectorized_Math.h.

Member Function Documentation

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

Definition at line 37 of file Vectorized_Math.h.

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

Definition at line 40 of file Vectorized_Math.h.

Member Data Documentation

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

Definition at line 43 of file Vectorized_Math.h.


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