1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

New port:

Perl routines for data sets interpolation and interval search
Initial import module version 1.05
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-03-12 16:05:40 +00:00
parent 0fcbb68e15
commit c84fa94a81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39661
6 changed files with 55 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Math-Interpolate-1.05.tar.gz) = 1826c6c24b75a2a27964c3dac198adac

View File

@ -0,0 +1 @@
Perl routines for data sets interpolation and interval search

View File

@ -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.

View File

@ -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