30 template<
typename T1,
typename T2>
34 for (int32_t i=0; i < len; ++i)
35 dist += static_cast<int32_t>(
CMath::abs((c1[i]-c2[i])));
static int32_t hamming_distance(T1 *c1, T2 *c2, int32_t len)
all of classes and functions are contained in the shogun namespace