#include "normalize_rows.h" template IGL_INLINE void igl::normalize_rows( const Eigen::PlainObjectBase& A, Eigen::PlainObjectBase & B) { // Resize output B.resize(A.rows(),A.cols()); // loop over rows for(int i = 0; i < A.rows();i++) { B.row(i) = A.row(i).normalized(); } }