Just wondering what the proper way is to define functions/classes in Jupyter. I tried the sample notebook, but .rawInput (in fact, all the “.” commands) seem not to work in Jupyter. If I try to use .rawInput, I get
just to be sure: are you referring to the cling kernel?
In case you are dealing with the ROOT kernel, the way of injecting functions is to use the %cpp magic:
%%cpp -d
void f(){};
For having the options of the cpp magic displayed: