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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename XType , typename SType >
void igl::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.
 
template<typename XType , typename DerivedS >
void igl::count (const Eigen::SparseMatrix< XType > &X, const int dim, Eigen::PlainObjectBase< DerivedS > &S)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.