#include "igl_inline.h"
#include <Eigen/Core>
#include <Eigen/Sparse>
#include <string>
#include "matlab_format.cpp"
Go to the source code of this file.
|
template<typename DerivedM > |
const Eigen::WithFormat< DerivedM > | igl::matlab_format (const Eigen::DenseBase< DerivedM > &M, const std::string name="") |
| This is a routine to print a matrix using format suitable for pasting into the matlab IDE.
|
|
template<typename DerivedM > |
std::string | igl::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 only in what argument(s) it accepts.
|
|
template<typename DerivedS > |
const std::string | igl::matlab_format (const Eigen::SparseMatrix< DerivedS > &S, const std::string name="") |
| Same but for sparse matrices.
|
|
const std::string | igl::matlab_format (const double v, const std::string name="") |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const std::string | igl::matlab_format (const float v, const std::string name="") |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Eigen::IOFormat | igl::matlab_format () |
| Just build and return the format.
|
|