Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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 >:

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
typedef Rcpp::Vector< RTYPE > VECTOR

Public Member Functions

 Mean (const VEC_TYPE &object_)
double get () const
Public Member Functions inherited from Rcpp::sugar::Lazy< double, Mean< RTYPE, NA, T > >
 operator double () 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 27 of file mean.h.

Member Typedef Documentation

◆ VEC_TYPE

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

Definition at line 29 of file mean.h.

◆ VECTOR

template<int RTYPE, bool NA, typename T>
typedef Rcpp::Vector<RTYPE> Rcpp::sugar::Mean< RTYPE, NA, T >::VECTOR

Definition at line 30 of file mean.h.

Constructor & Destructor Documentation

◆ Mean()

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

Definition at line 32 of file mean.h.

References object.

Member Function Documentation

◆ get()

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

Member Data Documentation

◆ object

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

Definition at line 49 of file mean.h.

Referenced by get(), and Mean().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/functions/mean.h