37         MatrixXd i= cov.inverse();
 
   38         double squared=a.transpose()*i*a;
 
   51         a=1./(2*M_PI*s1*s2*sqrt(1-rho*rho));
 
   53         c=pow(x(0)-m(0),2)/(s1*s1);
 
   54         d=pow(x(1)-m(1),2)/(s2*s2);
 
   55         e=(2*rho*(x(0)-m(0))*(x(1)-m(1)))/(s1*s2);
 
   57         double f = a*exp(-b*(c+d-e));
 
double mahalanobis(Vector2d &y, Vector2d &mean, Matrix2d &cov)
 
double biVariatePDF(Vector2d &x, Vector2d &m, Matrix2d &cov)
 
Distance metrics declaration.