8#ifndef IGL_MATRIX_TO_LIST_H
9#define IGL_MATRIX_TO_LIST_H
26 template <
typename DerivedM>
28 const Eigen::MatrixBase<DerivedM> & M,
29 std::vector<std::vector<typename DerivedM::Scalar > > & V);
35 template <
typename DerivedM>
37 const Eigen::MatrixBase<DerivedM> & M,
38 std::vector<typename DerivedM::Scalar > & V);
40 template <
typename DerivedM>
42 const Eigen::MatrixBase<DerivedM> & M);
45#ifndef IGL_STATIC_LIBRARY
46# include "matrix_to_list.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void matrix_to_list(const Eigen::MatrixBase< DerivedM > &M, std::vector< std::vector< typename DerivedM::Scalar > > &V)
Convert a matrix to a list (std::vector) of row vectors of the same size.