8#ifndef IGL_MATLAB_PREPARE_LHS_H
9#define IGL_MATLAB_PREPARE_LHS_H
13#include <Eigen/Sparse>
22 template <
typename DerivedV>
24 const Eigen::DenseBase<DerivedV> & V,
27 template <
typename Vtype>
29 const Eigen::SparseMatrix<Vtype> & V,
33 template <
typename DerivedV>
35 const Eigen::DenseBase<DerivedV> & V,
41 template <
typename DerivedV>
43 const Eigen::DenseBase<DerivedV> & V,
48 template <
typename Vtype>
50 const std::vector<Vtype> & V,
54#ifndef IGL_STATIC_LIBRARY
55# include "prepare_lhs.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
Definition matlabinterface.h:38
void prepare_lhs_double(const Eigen::DenseBase< DerivedV > &V, mxArray *plhs[])
Writes out a matrix as a double.
void prepare_lhs_index(const Eigen::DenseBase< DerivedV > &V, mxArray *plhs[])
Writes out a matrix and adds 1.
void prepare_lhs_logical(const Eigen::DenseBase< DerivedV > &V, mxArray *plhs[])
This is an overloaded member function, provided for convenience. It differs from the above function o...