Rcpp Version 0.12.12
Rcpp::sugar::Sum< REALSXP, NA, T > Class Template Reference

#include <sum.h>

Inheritance diagram for Rcpp::sugar::Sum< REALSXP, NA, T >:
Collaboration diagram for Rcpp::sugar::Sum< REALSXP, NA, T >:

Public Types

typedef Rcpp::VectorBase< REALSXP, NA, T > VEC_TYPE
 
typedef Rcpp::traits::Extractor< REALSXP, NA, T >::type VEC_EXT
 

Public Member Functions

 Sum (const VEC_TYPE &object_)
 
double get () const
 
- Public Member Functions inherited from Rcpp::sugar::Lazy< double, Sum< REALSXP, NA, T > >
 operator double () const
 

Private Attributes

const VEC_EXTobject
 

Detailed Description

template<bool NA, typename T>
class Rcpp::sugar::Sum< REALSXP, NA, T >

Definition at line 54 of file sum.h.

Member Typedef Documentation

template<bool NA, typename T >
typedef Rcpp::traits::Extractor< REALSXP, NA, T>::type Rcpp::sugar::Sum< REALSXP, NA, T >::VEC_EXT

Definition at line 57 of file sum.h.

template<bool NA, typename T >
typedef Rcpp::VectorBase<REALSXP,NA,T> Rcpp::sugar::Sum< REALSXP, NA, T >::VEC_TYPE

Definition at line 56 of file sum.h.

Constructor & Destructor Documentation

template<bool NA, typename T >
Rcpp::sugar::Sum< REALSXP, NA, T >::Sum ( const VEC_TYPE object_)
inline

Definition at line 59 of file sum.h.

Member Function Documentation

template<bool NA, typename T >
double Rcpp::sugar::Sum< REALSXP, NA, T >::get ( ) const
inline

Definition at line 61 of file sum.h.

Member Data Documentation

template<bool NA, typename T >
const VEC_EXT& Rcpp::sugar::Sum< REALSXP, NA, T >::object
private

Definition at line 70 of file sum.h.


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