

Public Member Functions | |
| MyRVectorFunc (SEXP fn) | |
| double | getSum (std::vector< double > &v) |
Definition at line 36 of file RcppExample.cpp.
| MyRVectorFunc::MyRVectorFunc | ( | SEXP | fn | ) | [inline] |
Definition at line 38 of file RcppExample.cpp.
| double MyRVectorFunc::getSum | ( | std::vector< double > & | v | ) | [inline] |
Definition at line 42 of file RcppExample.cpp.
References RcppFunction::clearProtectionStack(), RcppFunction::setRVector(), and RcppFunction::vectorCall().
Referenced by Rcpp_Example().

1.5.6