NAME

App::MathImage::NumSeq::PlanePath -- sequences of coordinates from PlanePath modules

SYNOPSIS

use App::MathImage::NumSeq::PlanePath;
my $seq = App::MathImage::NumSeq::PlanePath->new (planepath => 'SquareSpiral',
                                                  coord_type => 'X');
my ($i, $value) = $seq->next;

DESCRIPTION

This module gives coordinates from a Math::PlanePath as a sequence. There's various choices of what coordinate to take from the path, such as X, Y, radius, dX, dy, etc.

FUNCTIONS

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

Create and return a new sequence object.

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

Return true if $value is a happy number, meaning repeated sum of squares of its digits reaches 1.

SEE ALSO

Math::NumSeq

HOME PAGE

http://user42.tuxfamily.org/math-image/index.html

LICENSE

Copyright 2010, 2011 Kevin Ryde

Math-Image is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Math-Image is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Math-Image. If not, see <http://www.gnu.org/licenses/>.