25 template <
typename DerivedX,
typename DerivedY,
typename DerivedI>
27 const Eigen::DenseBase<DerivedX>& X,
29 Eigen::PlainObjectBase<DerivedY>& Y,
30 Eigen::PlainObjectBase<DerivedI>& I);
32 template <
typename DerivedX,
typename DerivedY>
34 const Eigen::DenseBase<DerivedX>& X,
36 Eigen::PlainObjectBase<DerivedY>& Y);
39#ifndef IGL_STATIC_LIBRARY
40# include "sortrows.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void sortrows(const Eigen::DenseBase< DerivedX > &X, const bool ascending, Eigen::PlainObjectBase< DerivedY > &Y, Eigen::PlainObjectBase< DerivedI > &I)
Act like matlab's [Y,I] = sortrows(X)