28   Bool_t getStatus(){
return status;}
 
   50   .method( 
"getStatus", &MyFunctor::getStatus)
 
   64   r<<
"MyFunctor <- MyFunctorModule$MyFunctor";
 
   66   r<<
"u <- new(MyFunctor)";
 
   69   r<<
"print(u$getStatus())";
 
   72   r<<
"print(sprintf('value in R = %f',u$doEval( 1 )))";
 
   80   r[
"functor"]<<functor;
 
   83   r<<
"print(functor$getStatus())";
 
   84   r<<
"print(sprintf('value in R = %f',functor$doEval( 1 )))";
 
   85   std::cout<<
"value in ROOT = "<<
TMath::Erf(1)<<std::endl;
 
#define ROOTR_EXPOSED_CLASS
#define LOAD_ROOTR_MODULE(NAME)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Double_t(* Function)(Double_t)
Double_t doEval(Double_t x)
ROOT R was implemented using the R Project library and the modules Rcpp and RInside
static TRInterface & Instance()
static method to get an TRInterface instance reference
Double_t Erf(Double_t x)
Computation of the error function erf(x).
Double_t BesselY1(Double_t x)
Bessel function Y0(x) for positive x.