file
KahanSum.hFunction Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Math
- Math library.
- namespace Magnum::Math::Algorithms
- Algorithms.
Functions
-
template<class Iterator, class T = typename std::auto kahanSum(Iterator begin, Iterator end, T sum = T(0), T* compensation = nullptr) -> T
decay<decltype(*std:: declval<Iterator>())>::type> - Kahan summation algorithm.