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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename T , typename Derived >
bool igl::list_to_matrix (const std::vector< std::vector< T > > &V, Eigen::PlainObjectBase< Derived > &M)
 Convert a list (std::vector) of row vectors of the same length to a matrix.
 
template<typename T , size_t N, typename Derived >
bool igl::list_to_matrix (const std::vector< std::array< T, N > > &V, Eigen::PlainObjectBase< Derived > &M)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename T , typename Derived >
bool igl::list_to_matrix (const std::vector< T > &V, Eigen::PlainObjectBase< Derived > &M)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename T , typename Derived >
bool igl::list_to_matrix (const std::vector< std::vector< T > > &V, const int n, const T &padding, Eigen::PlainObjectBase< Derived > &M)
 Convert a list of row vectors of n or less to a matrix and pad on the right with padding.