ROOT::Math::Similarity in root 5.26

Hi all,

I’d like to use the ROOT::Math::Similarity function in a root macro. However it seems that such a function is not included in 5.26 release…what do I wrong?



this functions is a template function of the SMatrix package. No dictionary for this function is generated so you cannot use in CINT, but you should be able to use it, if you compile your macro with ACLIC, for example this will work:

#include "Math/SMatrix.h"

void exampleSimilarity() { 

ROOT::Math::SMatrix<double,3,3> A; 
ROOT::Math::SVector<double, 3 > v; 
double vTAv = ROOT::Math::Similarity(A,v);

Best Regards