Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
I don’t know how to make program for definite integration using c++ language in root. So please help.
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
I don’t know how to make program for definite integration using c++ language in root. So please help.
I’m not sure to understand what you’re asking for. You can try to search integration
in the ROOT tutorials…
Yes, I don’t know how to do integration in root.
Is Root supports Mathematica language?
No, it doesn’t. Maybe @moneta can give you some hints…
Yes, I don’t know how to do integration in root. Please help @moneta
Integration of what, histogram, function ?
Definitely Integration of function using root.
Hi,
In ROOT we have classes for performing numerical integration of functions. We don’t have tools for doing analytical integration as in Mathematica.
For numerical integration, you can use the integrator classes, as shown in this tutorial,
https://root.cern.ch/doc/master/mathmoreIntegration_8C.html
or directly the TF1 class, using TF1::Integral, see ROOT: TF1 Class Reference
or TF1::IntegralMultiple for multi-dimensional functions
ROOT: TF1 Class Reference
Lorenzo