Logo ROOT  
Reference Guide
df038_NumbaDeclare Namespace Reference

Functions

 pypow (x, y)
 pypowarray (x, y)

Variables

 data
 s

Function Documentation

◆ pypow()

df038_NumbaDeclare.pypow ( x,
y )

Definition at line 21 of file df038_NumbaDeclare.py.

◆ pypowarray()

df038_NumbaDeclare.pypowarray ( x,
y )

Definition at line 40 of file df038_NumbaDeclare.py.

Variable Documentation

◆ data

df038_NumbaDeclare.data
Initial value:
1= ROOT.RDataFrame(4).Define('x', '(float)rdfentry_')\
2 .Define('x_pow3', 'Numba::pypow(x, 3)')\
3 .AsNumpy()
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...

Definition at line 29 of file df038_NumbaDeclare.py.

◆ s

df038_NumbaDeclare.s
Initial value:
1= ROOT.RDataFrame(1).Define('x', 'ROOT::RVecF{1,2,3}')\
2 .Define('x2', 'Numba::pypowarray(x, 2)')\
3 .Sum('x2')

Definition at line 49 of file df038_NumbaDeclare.py.