11#include <Eigen/Sparse> 
   30    const Eigen::SparseMatrix<T>& X, 
 
   32    Eigen::SparseVector<T>& S);
 
   37  template <
typename AType, 
typename DerivedB>
 
   39    const Eigen::SparseMatrix<AType> & A, 
 
   41    Eigen::PlainObjectBase<DerivedB>& B);
 
   44#ifndef IGL_STATIC_LIBRARY 
#define IGL_INLINE
Definition igl_inline.h:15
 
void sum(const Eigen::SparseMatrix< T > &X, const int dim, Eigen::SparseVector< T > &S)
Sum the columns or rows of a sparse matrix.