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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedS , typename DerivedV , typename DerivedA >
void igl::accumarray (const Eigen::MatrixBase< DerivedS > &S, const Eigen::MatrixBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedA > &A)
 Accumulate values in V using subscripts in S.
 
template<typename DerivedS , typename DerivedA >
void igl::accumarray (const Eigen::MatrixBase< DerivedS > &S, const typename DerivedA::Scalar V, Eigen::PlainObjectBase< DerivedA > &A)
 Accumulate constant value V using subscripts in S.