85 for (
UInt_t i = 0; i < v1->size(); i++) norm += ((*v1)[i] -(*v2)[i]) *((*v1)[i] -(*v2)[i]) ;
94 for (
UInt_t idx = 0; idx < v1->size(); idx++) prod += (*v1)[idx] * (*v2)[idx];
98 for (; i > 0; i /= 2) {
99 if (i%2) result = prod;
109 for (
UInt_t i = 0; i < v1->size(); i++) prod += (*v1)[i] * (*v2)[i];
117 for (
UInt_t i = 0; i < v1->size(); i++) prod += ((*v1)[i] -(*v2)[i]) *((*v1)[i] -(*v2)[i]) ;
void setCompatibilityParams(EKernelType k, UInt_t order, Float_t theta, Float_t kappa)
set old options for compatibility mode
~SVKernelFunction()
destructor
std::vector< Float_t > * GetDataVector()
double norm(double *x, double *p)
Float_t Evaluate(SVEvent *ev1, SVEvent *ev2)
SVKernelFunction()
constructor