9#ifndef IGL_SLICE_SORTED_H 
   10#define IGL_SLICE_SORTED_H 
   14#include <Eigen/Sparse> 
   28  template <
typename TX, 
typename TY, 
typename DerivedR, 
typename DerivedC>
 
   30    const Eigen::SparseMatrix<TX> &X,
 
   31    const Eigen::DenseBase<DerivedR> &R,
 
   32    const Eigen::DenseBase<DerivedC> &C,
 
   33    Eigen::SparseMatrix<TY> &Y);
 
   36#ifndef IGL_STATIC_LIBRARY 
   37#include "slice_sorted.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void slice_sorted(const Eigen::SparseMatrix< TX > &X, const Eigen::DenseBase< DerivedR > &R, const Eigen::DenseBase< DerivedC > &C, Eigen::SparseMatrix< TY > &Y)
Act like the matlab X(row_indices,col_indices) operator, where row_indices, col_indices are non-negat...