#include "matrix_to_list.h" #include template IGL_INLINE void igl::matrix_to_list( const Eigen::MatrixBase & M, std::vector > & V) { using namespace std; V.resize(M.rows(),vector(M.cols())); // loop over rows for(int i = 0;i IGL_INLINE void igl::matrix_to_list( const Eigen::MatrixBase & M, std::vector & V) { using namespace std; V.resize(M.size()); // loop over rows for(int i = 0;i IGL_INLINE std::vector igl::matrix_to_list( const Eigen::MatrixBase & M) { std::vector V; matrix_to_list(M,V); return V; } #ifndef IGL_HEADER_ONLY // Explicit template specialization // generated by autoexplicit.sh template std::vector::Scalar, std::allocator::Scalar> > igl::matrix_to_list >(Eigen::MatrixBase > const&); // generated by autoexplicit.sh template std::vector::Scalar, std::allocator::Scalar> > igl::matrix_to_list >(Eigen::MatrixBase > const&); //template void igl::matrix_to_list >, double>(Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&); //template void igl::matrix_to_list >, int>(Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&); template void igl::matrix_to_list >(Eigen::MatrixBase > const&, std::vector::Scalar, std::allocator::Scalar> >, std::allocator::Scalar, std::allocator::Scalar> > > >&); template void igl::matrix_to_list >(Eigen::MatrixBase > const&, std::vector::Scalar, std::allocator::Scalar> >, std::allocator::Scalar, std::allocator::Scalar> > > >&); template void igl::matrix_to_list >(Eigen::MatrixBase > const&, std::vector::Scalar, std::allocator::Scalar> >&); #endif