ProteoWizard
Namespaces | Functions
cumsum.hpp File Reference
#include <vector>
#include <cstddef>

Go to the source code of this file.

Namespaces

 ralab
 EQUISPACEINTERPOL Interpolation on a equidistantly spaced grid.
 
 ralab::base
 

Functions

template<typename TIterator , typename T >
void ralab::base::cumsum (TIterator beg, TIterator end, std::vector< T > &res)
 
template<typename TIterator >
TIterator ralab::base::cumsum (TIterator beg, TIterator end)
 
template<typename T >
void ralab::base::cumprod (std::vector< T > &x, std::vector< T > &res)
 Returns a vector whose elements are the cumulative products of the elements of the argument. More...
 
template<typename T >
void ralab::base::cummax (std::vector< T > &x, std::vector< T > &res)
 Returns a vector whose elements are the cumulative maximum of the elements of the argument. More...
 
template<typename T >
void ralab::base::cummin (std::vector< T > &x, std::vector< T > &res)
 Returns a vector whose elements are the cumulative sums, products, minima or maxima of the elements of the argument. More...