12#include<Rcpp/Vector.h>
20 std::vector<Double_t> vec(
v.GetMatrixArray(),
v.GetMatrixArray() +
v.GetNoElements());
26 std::vector<Double_t> vec =::Rcpp::as<std::vector<Double_t> >(
v);
32 std::vector<Float_t> vec(
v.GetMatrixArray(),
v.GetMatrixArray() +
v.GetNoElements());
38 std::vector<Float_t> vec =::Rcpp::as<std::vector<Float_t> >(
v);
48 m.GetMatrix2Array(
data,
"F");
49 NumericMatrix mat(rows, cols,
data);
55 NumericMatrix mat =::Rcpp::as<NumericMatrix>(
m);
64 m.GetMatrix2Array(
data,
"F");
65 NumericMatrix mat(rows, cols,
data);
71 NumericMatrix mat =::Rcpp::as<NumericMatrix>(
m);
72 std::vector<Float_t> dat = Rcpp::as<std::vector<Float_t>>(mat);
#define R(a, b, c, d, e, f, g, h, i)
TRDataFrame(const T1 &t1)
This is a class to create DataFrames from ROOT to R.
This is a class to pass functions from ROOT to R.
This is a class to get ROOT's objects from R's objects.
VARIABLE_IS_NOT_USED SEXP ModuleSymRef
Rcpp::internal::NamedPlaceHolder Label
Namespace for new ROOT classes and functions.
This is a class to support deprecated method to pass function to R's Environment, based in Rcpp::Inte...
SEXP wrap(const TString &s)