/ Published in: C++
This code is a demonstration of writing mex functions using the armadillo scientific library. Please see my blog post for more details and leave comments there.
URL: http://www.myoutsourcedbrain.com/2009/08/mex-function-for-mahalanobis-function.html