libigl v2.5.0
Loading...
Searching...
No Matches
matrix_to_list.h File Reference
#include "igl_inline.h"
#include <vector>
#include <Eigen/Dense>
#include "matrix_to_list.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedM >
void igl::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.
 
template<typename DerivedM >
void igl::matrix_to_list (const Eigen::MatrixBase< DerivedM > &M, std::vector< typename DerivedM::Scalar > &V)
 Convert a matrix to a list (std::vector) of elements in column-major ordering.
 
template<typename DerivedM >
std::vector< typename DerivedM::Scalar > igl::matrix_to_list (const Eigen::MatrixBase< DerivedM > &M)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.