atmosphere.summation

This module contains basic summation algorithms.

Members

Enums

Summation
enum Summation

Summation algorithms.

Functions

geometricMean
ElementType!Range geometricMean(Range r)

Computes geometric mean of input range r.

sumOfLog2s
ElementType!Range sumOfLog2s(Range r)

Computes accurate sum of binary logarithms of input range r.

Structs

Summator
struct Summator(T, Summation summation = Summation.Precise)

Output range for summation. Precise, KB2, KBN and Kahan algorithms are supported.

Templates

fsum
template fsum(F, Summation summation = Summation.Precise)
template fsum(Summation summation = Summation.Precise)

Computes sum of range.

Meta