#include "all_pairs_distances.h" template IGL_INLINE void igl::all_pairs_distances( const Mat & V, const Mat & U, const bool squared, Mat & D) { // dimension should be the same assert(V.cols() == U.cols()); // resize output D.resize(V.rows(),U.rows()); for(int i = 0;i