![]() |
OpenMS
|
Calculates the sum of intensities for a range of elements. More...
#include <OpenMS/KERNEL/MSExperiment.h>
Public Member Functions | |
| template<typename Iterator > | |
| auto | operator() (Iterator begin, Iterator end) const |
Calculates the sum of intensities for a range of elements.
| Iterator | The iterator type. |
| begin | The iterator pointing to the beginning of the range. |
| end | The iterator pointing to the end of the range. |
| static | assert fails if the iterator value type does not have a getIntensity() member function. |
References OpenMS::Math::sum().