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


Public Types | |
| typedef Rcpp::VectorBase < REALSXP, LHS_NA, LHS_T > | LHS_TYPE |
Public Types inherited from Rcpp::VectorBase< REALSXP, LHS_NA, Diff< REALSXP, LHS_NA, LHS_T > > | |
| typedef traits::storage_type < RTYPE >::type | stored_type |
| typedef traits::storage_type < RTYPE >::type | elem_type |
Public Member Functions | |
| Diff (const LHS_TYPE &lhs_) | |
| double | operator[] (int i) const |
| int | size () const |
Public Member Functions inherited from Rcpp::VectorBase< REALSXP, LHS_NA, Diff< REALSXP, LHS_NA, LHS_T > > | |
| Diff< REALSXP, LHS_NA, LHS_T > & | get_ref () |
| const Diff< REALSXP, LHS_NA, LHS_T > & | get_ref () const |
| iterator | begin () const |
| iterator | end () const |
Private Attributes | |
| const LHS_TYPE & | lhs |
| double | previous |
| typedef Rcpp::VectorBase<REALSXP,LHS_NA,LHS_T> Rcpp::sugar::Diff< REALSXP, LHS_NA, LHS_T >::LHS_TYPE |
|
inline |
|
inline |
Reimplemented from Rcpp::VectorBase< REALSXP, LHS_NA, Diff< REALSXP, LHS_NA, LHS_T > >.
Definition at line 73 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous, and y.
|
inline |
Reimplemented from Rcpp::VectorBase< REALSXP, LHS_NA, Diff< REALSXP, LHS_NA, LHS_T > >.
Definition at line 79 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

|
private |
|
mutableprivate |