#include "igl_inline.h"
#include <Eigen/Sparse>
#include "sum.cpp"
 
Go to the source code of this file.
 | 
| template<typename T >  | 
| void  | igl::sum (const Eigen::SparseMatrix< T > &X, const int dim, Eigen::SparseVector< T > &S) | 
|   | Sum the columns or rows of a sparse matrix.  
  | 
|   | 
| template<typename AType , typename DerivedB >  | 
| void  | igl::sum (const Eigen::SparseMatrix< AType > &A, const int dim, Eigen::PlainObjectBase< DerivedB > &B) | 
|   | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  
  | 
|   |