#include "igl_inline.h"
#include <Eigen/Core>
#include "cumsum.cpp"
Go to the source code of this file.
|
| template<typename DerivedX , typename DerivedY > |
| void | igl::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.
|
| |
| template<typename DerivedX , typename DerivedY > |
| void | igl::cumsum (const Eigen::MatrixBase< DerivedX > &X, const int dim, const bool zero_prefix, Eigen::PlainObjectBase< DerivedY > &Y) |
| | Computes a cumulative sum of the columns of [0;X].
|
| |