Rcpp Version 0.9.10
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 >:

List of all members.

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

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.

References i, and n.


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines