MyRVectorFunc Class Reference

Inherits RcppFunction.

Collaboration diagram for MyRVectorFunc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyRVectorFunc (SEXP fn)
double getSum (std::vector< double > &v)

Detailed Description

Definition at line 36 of file RcppExample.cpp.


Constructor & Destructor Documentation

MyRVectorFunc::MyRVectorFunc ( SEXP  fn  )  [inline]

Definition at line 38 of file RcppExample.cpp.


Member Function Documentation

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().

Here is the call graph for this function:


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

Generated on Fri Nov 6 13:03:18 2009 for Rcpp by  doxygen 1.6.1