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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename T >
void igl::group_sum_matrix (const Eigen::Matrix< int, Eigen::Dynamic, 1 > &G, const int k, Eigen::SparseMatrix< T > &A)
 Builds a matrix A such that A*V computes the sum of vertices in each group specified by G.
 
template<typename T >
void igl::group_sum_matrix (const Eigen::Matrix< int, Eigen::Dynamic, 1 > &G, Eigen::SparseMatrix< T > &A)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.