|
Rcpp Version 0.9.10
|
#include <diff.h>


Public Types | |
| typedef Rcpp::VectorBase < RTYPE, false, LHS_T > | LHS_TYPE |
| typedef Rcpp::traits::storage_type < RTYPE >::type | STORAGE |
Public Member Functions | |
| Diff (const LHS_TYPE &lhs_) | |
| STORAGE | operator[] (int i) const |
| int | size () const |
Private Attributes | |
| const LHS_TYPE & | lhs |
| STORAGE | previous |
| typedef Rcpp::VectorBase<RTYPE,false,LHS_T> Rcpp::sugar::Diff< RTYPE, false, LHS_T >::LHS_TYPE |
| typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Diff< RTYPE, false, LHS_T >::STORAGE |
| Rcpp::sugar::Diff< RTYPE, false, LHS_T >::Diff | ( | const LHS_TYPE & | lhs_ | ) | [inline] |
| STORAGE Rcpp::sugar::Diff< RTYPE, false, LHS_T >::operator[] | ( | int | i | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, false, Diff< RTYPE, false, LHS_T > >.
Definition at line 94 of file diff.h.
References Rcpp::diff(), Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous, and y.

| int Rcpp::sugar::Diff< RTYPE, false, LHS_T >::size | ( | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, false, Diff< RTYPE, false, LHS_T > >.
Definition at line 100 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

const LHS_TYPE& Rcpp::sugar::Diff< RTYPE, false, LHS_T >::lhs [private] |
STORAGE Rcpp::sugar::Diff< RTYPE, false, LHS_T >::previous [mutable, private] |