Rcpp Version 1.0.9
Rcpp::sugar::Cumsum< RTYPE, NA, T > Class Template Reference

#include <cumsum.h>

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

Public Types

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

Public Member Functions

 Cumsum (const VEC_TYPE &object_)
 
VECTOR get () const
 
- Public Member Functions inherited from Rcpp::sugar::Lazy< Rcpp::Vector< RTYPE >, Cumsum< RTYPE, NA, T > >
 operator Rcpp::Vector< RTYPE > () const
 

Private Attributes

const VEC_TYPEobject
 

Detailed Description

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

Definition at line 29 of file cumsum.h.

Member Typedef Documentation

◆ STORAGE

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

Definition at line 32 of file cumsum.h.

◆ VEC_TYPE

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

Definition at line 31 of file cumsum.h.

◆ VECTOR

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

Definition at line 33 of file cumsum.h.

Constructor & Destructor Documentation

◆ Cumsum()

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

Definition at line 35 of file cumsum.h.

Member Function Documentation

◆ get()

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

Definition at line 37 of file cumsum.h.

References Rcpp::Vector< RTYPE, StoragePolicy >::size().

Here is the call graph for this function:

Member Data Documentation

◆ object

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

Definition at line 53 of file cumsum.h.


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