#ifndef IGL_MAX_H #define IGL_MAX_H #include "igl_inline.h" #include #include namespace igl { // Inputs: // X m by n matrix // dim dimension along which to take max // Outputs: // Y n-long vector (if dim == 1) // or // Y m-long vector (if dim == 2) // I vector the same size as Y containing the indices along dim of maximum // entries template IGL_INLINE void max( const Eigen::SparseMatrix & A, const int dim, Eigen::PlainObjectBase & B, Eigen::PlainObjectBase & I); } #ifndef IGL_STATIC_LIBRARY # include "max.cpp" #endif #endif