Hello,
is there any function in ROOT to compare element by element two different arrays and check that their values are close enough (within a certain epsilon) or identical?
For example numpy has isclose and allclose that will check if element-wise the values are similar and will return a corresponding array of booleans or a single boolean (true if all values close).
I found nothing in TArrayD or in TVector, and I do not think TH1D has such feature.
Any other class I could use?
I am writing some automatic tests and I want to check the values in a histogram that I produce during the test against a reference histogram I have saved.
Thanks a lot,
Cosimo