8#ifndef IGL_MATLAB_PARSE_RHS_H 
    9#define IGL_MATLAB_PARSE_RHS_H 
   10#include "../igl_inline.h" 
   13#include <Eigen/Sparse> 
   22    template <
typename DerivedV>
 
   24      const mxArray *prhs[], 
 
   25      Eigen::PlainObjectBase<DerivedV> & V);
 
   27    template <
typename VType>
 
   29      const mxArray *prhs[], 
 
   30      Eigen::SparseMatrix<VType> & M);
 
   35    template <
typename DerivedV>
 
   37      const mxArray *prhs[], 
 
   38      Eigen::PlainObjectBase<DerivedV> & V);
 
   41#ifndef IGL_STATIC_LIBRARY 
   42#  include "parse_rhs.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void parse_rhs_double(const mxArray *prhs[], Eigen::PlainObjectBase< DerivedV > &V)
Reads in a matrix as a double.
 
void parse_rhs(const mxArray *prhs[], Eigen::SparseMatrix< VType > &M)
This is an overloaded member function, provided for convenience. It differs from the above function o...
 
void parse_rhs_index(const mxArray *prhs[], Eigen::PlainObjectBase< DerivedV > &V)
Reads in a matrix and subtracts 1.