60         for (int32_t i=0; i<alen; i++)
 
   62             absTmp=fabs(avec[i])+fabs(bvec[i]);
 
   64                 result+=pow((avec[i]-bvec[i]),2)/absTmp;
 
virtual bool init(CFeatures *l, CFeatures *r)
 
all of classes and functions are contained in the shogun namespace 
 
virtual ~CChiSquareDistance()
 
CFeatures * lhs
feature vectors to occur on the left hand side 
 
The class Features is the base class of all feature objects. 
 
CFeatures * rhs
feature vectors to occur on the right hand side 
 
template class DenseDistance 
 
virtual float64_t compute(int32_t idx_a, int32_t idx_b)