method

sum

v4.0.2 - Show latest stable - Class: Range
sum(identity = 0)
public

Optimize range sum to use arithmetic progression if a block is not given and we have a range of numeric values.