libigl v2.5.0
Loading...
Searching...
No Matches
sum.h File Reference
#include "igl_inline.h"
#include <Eigen/Sparse>
#include "sum.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

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.