Rcpp Version 0.9.10
Rcpp::sugar::Mean< RTYPE, NA, T > Class Template Reference

#include <mean.h>

Inheritance diagram for Rcpp::sugar::Mean< RTYPE, NA, T >:
Collaboration diagram for Rcpp::sugar::Mean< RTYPE, NA, T >:

List of all members.

Public Types

typedef Rcpp::VectorBase
< RTYPE, NA, T > 
VEC_TYPE
typedef
Rcpp::traits::storage_type
< RTYPE >::type 
STORAGE

Public Member Functions

 Mean (const VEC_TYPE &object_)
STORAGE get () const

Private Attributes

const VEC_TYPEobject

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::sugar::Mean< RTYPE, NA, T >

Definition at line 29 of file mean.h.


Member Typedef Documentation

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

Definition at line 32 of file mean.h.

template<int RTYPE, bool NA, typename T >
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Mean< RTYPE, NA, T >::VEC_TYPE

Definition at line 31 of file mean.h.


Constructor & Destructor Documentation

template<int RTYPE, bool NA, typename T >
Rcpp::sugar::Mean< RTYPE, NA, T >::Mean ( const VEC_TYPE object_) [inline]

Definition at line 34 of file mean.h.


Member Function Documentation

template<int RTYPE, bool NA, typename T >
STORAGE Rcpp::sugar::Mean< RTYPE, NA, T >::get ( ) const [inline]

Definition at line 36 of file mean.h.

References Rcpp::sum().

Here is the call graph for this function:


Member Data Documentation

template<int RTYPE, bool NA, typename T >
const VEC_TYPE& Rcpp::sugar::Mean< RTYPE, NA, T >::object [private]

Definition at line 40 of file mean.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines