8#ifndef IGL_MATLAB_FORMAT_H
9#define IGL_MATLAB_FORMAT_H
14#include <Eigen/Sparse>
44 template <
typename DerivedM>
46 const Eigen::DenseBase<DerivedM> & M,
47 const std::string name =
"");
51 template <
typename DerivedM>
53 const Eigen::MatrixBase<DerivedM> & M,
54 const std::string name =
"");
57 const std::vector<T> & Mvec,
58 const std::string name =
"");
76 template <
typename DerivedS>
78 const Eigen::SparseMatrix<DerivedS> & S,
79 const std::string name =
"");
84 const std::string name =
"");
88 const std::string name =
"");
105#ifndef IGL_STATIC_LIBRARY
106# 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...