24  template <
typename DerivedX, 
typename DerivedY>
 
   26    const Eigen::MatrixBase<DerivedX > & X,
 
   28    Eigen::PlainObjectBase<DerivedY > & Y);
 
   40  template <
typename DerivedX, 
typename DerivedY>
 
   42    const Eigen::MatrixBase<DerivedX > & X,
 
   44    const bool zero_prefix,
 
   45    Eigen::PlainObjectBase<DerivedY > & Y);
 
   52#ifndef IGL_STATIC_LIBRARY 
#define IGL_INLINE
Definition igl_inline.h:15
 
void cumsum(const Eigen::MatrixBase< DerivedX > &X, const int dim, Eigen::PlainObjectBase< DerivedY > &Y)
Computes a cumulative sum of the columns of X, like matlab's cumsum.