Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > 4269c4391c242fc4b0a96b49581c692b

perl-Math-NumSeq-71-2.noarch.rpm

Description:

This is a base class for some number sequences. Sequence objects can
iterate through values and some sequences have random access and/or a
predicate test.

The idea is to generate things like squares or primes in a generic way.
Some sequences, like squares, are so easy there's no need for a class except
for the genericness. Other sequences are trickier and an iterator is a good
way to go through values. The iterating tries to be progressive, so not
calculating too far ahead yet doing reasonable size chunks for efficiency.

Sequence values have an integer index "i" starting either from i=0 or i=1 or
whatever best suits the sequence. The values can be anything, positive,
negative, fractional, etc.

The intention is that all modules Math::NumSeq::Foo are sequence classes,
and that supporting things are deeper, such as under
Math::NumSeq::Something::Helper or Math::NumSeq::Base::SharedStuff.

Sources packages:

Other version of this rpm: