Math-Series

 view release on metacpan or  search on metacpan

lib/Math/Series.pm  view on Meta::CPAN

    my $self = {
        cached        => $cached,
        var           => $variable,
        formula       => $parsed,
        current       => $start_index,
        current_value => $start,
        cache         => [$start],
        iter_var      => $iter_var,
        start_index   => $start_index,
    };
    return bless $self => $class;
}

=item next()

The next() method returns the next element of the series and advances the
iterator by one. This is the prefered method of walking down a series'
recursion.

=cut



( run in 0.321 second using v1.01-cache-2.11-cpan-65fba6d93b7 )