UserManual

bigrange

The module provides range-like generator functions.

This module is newly added to the CVS, and will be released within 0.6.

Functions

arithmetic_progression(init, difference)

Generate an arithmetic progression starts form init and difference step.

count([n])

Count up infinitely from n (default to 0).

see itertools.count.

geometric_progression(init, ratio)

Generate a geometric progression starting form init and multiplying ratio.

range(start [, stop [, step]])

Generate a range-like finite integer sequence. It can generate more than sys.maxint elements.


Last-modified: 2006-11-21 (Ва) 15:45:53