This perl library aims to provide as many tools to make it as simple as possible
to calculate distances between geographic points, and anything that can be
derived from that. Currently there is support for finding the closest locations
within a specified distance, to find the closest number of points to a specified
point, and to do basic point-to-point distance calculations.
This is Graph, the Perl module for graph operations as the code was for
the 1st edition of "Mastering Algorithms with Perl", by Jon Orwant,
Jarkko Hietaniemi, and John Macdonald, published in August 1999 by the
O'Reilly and Associates.
-Anton
<tobez@FreeBSD.org>
Math::Gradient is used to calculate smooth transitions between numerical
values (also known as a "Gradient"). I wrote this module mainly to mix
colours, but it probably has several other applications. Methods are
supported to handle both basic and multiple-point gradients, both with
scalars and arrays.
BaseCnv provides a few simple functions for converting between
arbitrary number bases. It is as fast as I currently know how
to make it (of course relying only on the lovely Perl). If you
would rather utilize an object syntax for number-base conversion,
please see Ken Williams's <Ken@Forum.Swarthmore.Edu> fine
Math::BaseCalc module.
Perl's built-in logical operators, C<and>, C<or>, C<xor> and C<not>
support 2-value logic. This means that they always produce a result
which is either true or false. In fact perl sometimes returns 0 and
sometimes returns undef for false depending on the operator and the
order of the arguments. For "true" Perl generally returns the first
value that evaluated to true which turns out to be extremely useful
in practice. Given the choice Perl's built-in logical operators are
to be preferred -- but when you really want pure 2-degree logic or
3-degree logic or multi-degree logic they are available through
this module
Math::BigInt - Arbitrary size integer math package for perl.
This is a complete rewrite of Math::BigInt, Math::BigFloat and friends,
which are included with the standard system perl.
Math::BigRat complements Math::BigInt and Math::BigFloat by providing
support for arbitrary big rational numbers.
Math::Matrix is a Perl module that performs a number of common matrix
operations.
This module provides an interface to over 150 functions of the
cephes math library of Stephen Moshier. No functions are exported
by default, but rather must be imported explicitly, as in
use Math::Cephes qw(sin cos);
There are a number of export tags defined which allow
importing groups of functions.
Math::Currency is a perl module that implements exact currency math
with formatting and rounding.