math/p5-Math-Interpolate 1.06_1 FreeBSD
Perl routines for data sets interpolation and interval search
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- math, perl5
- Package size
- 13.5 KiB, 28.6 KiB installed
Description
* 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. The robust interpolator can also use derivative information supplied by the user.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/p5-Math-Interpolate | 1.06_1 |
| DragonFly | math/p5-Math-Interpolate | 1.06_1 |
Install
Binary package:
pkg install p5-Math-Interpolate
From the ports tree:
cd /usr/ports/math/p5-Math-Interpolate/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Math-Interpolate>0:math/p5-Math-Interpolate
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.06_1 | 1.06_1 | 1.06_1 | 1.06_1 | 1.06_1 |
| FreeBSD:14:quarterly | 1.06_1 | 1.06_1 | n/a | 1.06_1 | 1.06_1 |
| FreeBSD:15:latest | 1.06_1 | 1.06_1 | n/a | 1.06_1 | 1.06_1 |
| FreeBSD:15:quarterly | 1.06_1 | 1.06_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.06_1 | 1.06_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%SITE_PERL%%/Math/Interpolate.pm
- %%SITE_PERL%%/Math/IntervalSearch.pm
- %%PERL5_MAN3%%/Math::Interpolate.3.gz
- %%PERL5_MAN3%%/Math::IntervalSearch.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Math-Interpolate-1.06.tar.gz | 47283 | a4502fbfdf9ecc42c5f33554d211d8fd15738370e4887ded5fc981b9d3cbce6a |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.