20@ROOT.Numba.Declare(['float', 'int'], 'float')
26ROOT.gInterpreter.ProcessLine(
'cout << "2^3 = " << Numba::pypow(2, 3) << endl;')
30 .Define(
'x_pow3',
'Numba::pypow(x, 3)')\
33print(
'pypow({}) = {}'.format(data[
'x'], data[
'x_pow3']))
39@ROOT.Numba.Declare(['RVec<float>', 'int'], 'RVec<float>')
43ROOT.gInterpreter.ProcessLine(
'''
44ROOT::RVec<float> x = {0, 1, 2, 3};
45cout << "pypowarray(" << x << ") = " << Numba::pypowarray(x, 3) << endl;
ROOT's RDataFrame offers a high level interface for analyses of data stored in TTrees,...