1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- #ifndef IGL_MATLAB_FORMAT_H
- #define IGL_MATLAB_FORMAT_H
- #include "igl_inline.h"
- #include <Eigen/Core>
- #include <Eigen/Sparse>
- #include <string>
- namespace igl
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- template <typename DerivedM>
- IGL_INLINE const Eigen::WithFormat< DerivedM > matlab_format(
- const Eigen::DenseBase<DerivedM> & M,
- const std::string name = "");
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- template <typename DerivedS>
- IGL_INLINE const std::string matlab_format(
- const Eigen::SparseMatrix<DerivedS> & S,
- const std::string name = "");
- IGL_INLINE const std::string matlab_format(
- const double v,
- const std::string name = "");
- IGL_INLINE const std::string matlab_format(
- const float v,
- const std::string name = "");
-
-
-
-
-
-
-
-
-
-
- IGL_INLINE Eigen::IOFormat matlab_format();
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "matlab_format.cpp"
- #endif
- #endif
|