STIR
6.2.0
|
Implementation of some functions missing from std::algorithm. More...
#include "stir/numerics/norm.h"
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
template<class iterT > | |
iterT | stir::abs_max_element (iterT start, iterT end) |
Like std::max_element, but comparing after taking absolute value. More... | |
template<class IterT , class elemT > | |
elemT | stir::sum (IterT start, IterT end, elemT init) |
Compute the sum of a sequence using operator+=(), using an initial value. More... | |
template<class IterT > | |
std::iterator_traits< IterT >::value_type | stir::sum (IterT start, IterT end) |
Compute the sum of a sequence using operator+=(). More... | |
template<class IterT > | |
std::iterator_traits< IterT >::value_type | stir::average (IterT start, IterT end) |
Compute the average of a sequence using sum(start,end). More... | |
Implementation of some functions missing from std::algorithm.