8#ifndef IGL_MATLAB_FORMAT_H
9#define IGL_MATLAB_FORMAT_H
14#include <Eigen/Sparse>
43 template <
typename DerivedM>
45 const Eigen::DenseBase<DerivedM> & M,
46 const std::string name =
"");
50 template <
typename DerivedM>
52 const Eigen::MatrixBase<DerivedM> & M,
53 const std::string name =
"");
71 template <
typename DerivedS>
73 const Eigen::SparseMatrix<DerivedS> & S,
74 const std::string name =
"");
79 const std::string name =
"");
83 const std::string name =
"");
100#ifndef IGL_STATIC_LIBRARY
101# include "matlab_format.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
Eigen::IOFormat matlab_format()
Just build and return the format.
std::string matlab_format_index(const Eigen::MatrixBase< DerivedM > &M, const std::string name="")
This is an overloaded member function, provided for convenience. It differs from the above function o...