diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/p5-Math-Interpolate/Makefile | 22 | ||||
-rw-r--r-- | math/p5-Math-Interpolate/distinfo | 1 | ||||
-rw-r--r-- | math/p5-Math-Interpolate/pkg-comment | 1 | ||||
-rw-r--r-- | math/p5-Math-Interpolate/pkg-descr | 24 | ||||
-rw-r--r-- | math/p5-Math-Interpolate/pkg-plist | 6 |
6 files changed, 55 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 0fce783e155a..6e46521798c9 100644 --- a/math/Makefile +++ b/math/Makefile @@ -59,6 +59,7 @@ SUBDIR += p5-Math-Financial SUBDIR += p5-Math-FixedPrecision SUBDIR += p5-Math-GMP + SUBDIR += p5-Math-Interpolate SUBDIR += p5-Math-Logic SUBDIR += p5-MatrixReal SUBDIR += p5-Set-IntSpan diff --git a/math/p5-Math-Interpolate/Makefile b/math/p5-Math-Interpolate/Makefile new file mode 100644 index 000000000000..a783030efb33 --- /dev/null +++ b/math/p5-Math-Interpolate/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Math-Interpolate +# Date created: 12 Mar 2001 +# Whom: Mario S F Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Math-Interpolate +PORTVERSION= 1.05 +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Math +PKGNAMEPREFIX= p5- + +MAINTAINER= lioux@FreeBSD.org + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Math::Interpolate.3 Math::IntervalSearch.3 + +.include <bsd.port.mk> diff --git a/math/p5-Math-Interpolate/distinfo b/math/p5-Math-Interpolate/distinfo new file mode 100644 index 000000000000..fb5511821521 --- /dev/null +++ b/math/p5-Math-Interpolate/distinfo @@ -0,0 +1 @@ +MD5 (Math-Interpolate-1.05.tar.gz) = 1826c6c24b75a2a27964c3dac198adac diff --git a/math/p5-Math-Interpolate/pkg-comment b/math/p5-Math-Interpolate/pkg-comment new file mode 100644 index 000000000000..fcf562df9997 --- /dev/null +++ b/math/p5-Math-Interpolate/pkg-comment @@ -0,0 +1 @@ +Perl routines for data sets interpolation and interval search diff --git a/math/p5-Math-Interpolate/pkg-descr b/math/p5-Math-Interpolate/pkg-descr new file mode 100644 index 000000000000..7af9c0ed75ec --- /dev/null +++ b/math/p5-Math-Interpolate/pkg-descr @@ -0,0 +1,24 @@ +This module contains several useful routines for interpolating data +sets and finding where a given value lies in a sorted list. +The first is a subroutine used to locate a position in an array of +values where a given value would fit using bisection. It has been +designed to be efficient in the common situation that it is called +repeatedly. The user can supply a different set of comparison +operators to replace the standard < and <=. For example, given a +list (1, 2, 5, 8, 15) and the number 9.5 it would return 3. + +The remaining routines all are related to interpolating sets of +(x,y) data pairs. They all take a list of (x,y) data pairs given +another x value, return a sensible y value using the list of (x,y) +data pairs. Three different interpolating functions are provided. +The first, called a constant interpolator, assumes that the function +being interpolated moves in non-linear jumps from one value to +another. The interpolated value for some value x is the y value of +the neighboring (x,y) to the left of the given x. The second +interpolator performs a linear interpolation between the neighboring +points. The third interpolator is called the robust interpolator +and interpolates a smooth curve between all of the (x,y) pairs. +To do the interpolation, it first calculates some reasonable +derivatives at the (x,y) pairs. If you have measured your own +derivative information, you can supply it to the robust interpolator +and it will use it. diff --git a/math/p5-Math-Interpolate/pkg-plist b/math/p5-Math-Interpolate/pkg-plist new file mode 100644 index 000000000000..4c676d1f8326 --- /dev/null +++ b/math/p5-Math-Interpolate/pkg-plist @@ -0,0 +1,6 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Interpolate/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Math/Interpolate.pm +lib/perl5/site_perl/%%PERL_VER%%/Math/IntervalSearch.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/Math +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Interpolate +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math |