85 for( std::vector<float>::const_iterator iter = params.begin(); iter != params.end()\
137 for (
UInt_t i = 0; i < v1->size(); i++) norm += ((*v1)[i] -(*v2)[i]) *((*v1)[i] -(*v2)[i]) ;
149 if(
fmGamma.size() != v1->size()){
150 std::cout <<
"Fewer gammas than input variables! #Gammas= " <<
fmGamma.size() <<
" #Input variables= " << v1->size() << std::endl;
151 std::cout <<
"***> abort program execution" << std::endl;
156 for (
UInt_t i = 0; i < v1->size(); i++) {
168 for (
UInt_t idx = 0; idx < v1->size(); idx++) prod += (*v1)[idx] * (*v2)[idx];
182 for (
UInt_t i = 0; i < v1->size(); i++) prod += (*v1)[i] * (*v2)[i];
193 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
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
std::vector< EKernelType > fKernelsList
~SVKernelFunction()
destructor
std::vector< Float_t > fmGamma
std::vector< Float_t > * GetDataVector()
double norm(double *x, double *p)
Float_t Evaluate(SVEvent *ev1, SVEvent *ev2)
SVKernelFunction()
constructor