Inherits RcppFunction.
Public Member Functions | |
MyRListFunc (SEXP fn) | |
std::vector< double > | addOne (double alpha, double beta, double gamma) |
Definition at line 79 of file RcppExample.cpp.
MyRListFunc::MyRListFunc | ( | SEXP | fn | ) | [inline] |
Definition at line 81 of file RcppExample.cpp.
std::vector<double> MyRListFunc::addOne | ( | double | alpha, | |
double | beta, | |||
double | gamma | |||
) | [inline] |
Definition at line 82 of file RcppExample.cpp.
References RcppFunction::appendToRList(), RcppFunction::clearProtectionStack(), RcppFunction::listCall(), and RcppFunction::setRListSize().
Referenced by Rcpp_Example().