A collection of non-proprietary, easily transportable Fortran
subprogram packages solving a variety of mathematical and statistical
problems.
This is the Worldforge math library. The primary focus of WFMath is geometric
objects. Thus, it includes several shapes (boxes, balls, lines), in addition
to the basic math objects that are used to build these shapes (points,
vectors, matricies).
This package supplies a set of functions and operators to manipulate
operator expressions algebraically using the familiar Perl syntax.
These expressions are constructed from "Symbols", "Operators", and
"Functions", and processed via "Methods". For examples, see: "Examples".
This module is just a wrapper around the gpc C library written by Alan
Murta
gpc: General Polygon Clipping library (C) 1997-1999, Advanced Interfaces
Group, University of Manchester.
Please refer to the gpc manual for more details on gpc.
A library for calculating offset polygons.
A collection of planar geometry functions
This module calculates the intersection point of two straight lines (if
one exists). It returns 0, if no intersection point exists. If the lines
have an intersection point, the coordinates of the point are the
returnvalue. If the given lines have infinite intersection points, -1 is
returned.
This package supplies a set of functions that find the roots of
polynomials. Polynomials up to the quartic may be solved directly by
numerical formulae. Polynomials of fifth and higher powers will be
solved by an iterative method, as there are no general solutions for
fifth and higher powers.
The linear, quadratic, cubic, and quartic *_roots() functions all
expect to have a non-zero value for the $a term.
If the constant term is zero then the first value returned in the list
of answers will always be zero, for all functions.
The Mersenne Twister is a fast pseudorandom number generator (PRNG)
that is capable of providing large volumes (> 10^6004) of "high
quality" pseudorandom data to applications that may exhaust available
"truly" random data sources or system-provided PRNGs such as rand.
This module provides PRNGs that are based on the Mersenne Twister.
There is a functional interface to a single, standalone PRNG, and an
OO interface (based on the inside-out object model as implemented by
the Object::InsideOut module) for generating multiple PRNG objects.
The PRNGs are self-seeding, automatically acquiring a (19968-bit)
random seed from user-selectable sources.
The Mersenne Twister is a pseudorandom number generator developed by
Makoto Matsumoto and Takuji Nishimura.