Skip to main content

Module sum

Module sum 

Source

Traits§

SumDomain
Domain over which sum_over iterates. Lets a single sum_over call accept either a Set (with typed key decoding via FromIndexKey) or a borrowed slice of Copy keys, without intermediate conversions.

Functions§

sum_over
Sum an expression over every element of a domain.