11#include <Eigen/Sparse> 
   27  template <
typename XType, 
typename SType>
 
   29    const Eigen::SparseMatrix<XType>& X, 
 
   31    Eigen::SparseVector<SType>& S);
 
   35  template <
typename XType, 
typename DerivedS>
 
   37    const Eigen::SparseMatrix<XType>& X, 
 
   39    Eigen::PlainObjectBase<DerivedS>& S);
 
   42#ifndef IGL_STATIC_LIBRARY 
#define IGL_INLINE
Definition igl_inline.h:15
 
void count(const Eigen::SparseMatrix< XType > &X, const int dim, Eigen::SparseVector< SType > &S)
Count the number of non-zeros in the columns or rows of a sparse matrix.