17 using namespace shogun;
62 for (int32_t i=0; i<alen; i++)
76 if(s==0 || nx==0 || ny==0)
virtual ~CGeodesicMetric()
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual bool init(CFeatures *l, CFeatures *r)
CFeatures * lhs
feature vectors to occur on the left hand side
static T sign(T a)
signum of type T variable a
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
static float32_t sqrt(float32_t x)
x^0.5
static T abs(T a)
return the absolute value of a number