NAME

App::MathImage::NumSeq::Runs -- runs of consecutive integers

SYNOPSIS

use App::MathImage::NumSeq::Runs;
my $seq = App::MathImage::NumSeq::Runs->new;
my ($i, $value) = $seq->next;

DESCRIPTION

A sequence 0,0,1,0,1,2,0,1,2,3,etc of increasing runs of integers 0 to N.

FUNCTIONS

$seq = App::MathImage::NumSeq::Runs->new (key=>value,...)

Create and return a new sequence object.

$bool = $seq->pred($value)

Return true if $value occurs in the sequence.

SEE ALSO

Math::NumSeq