Main > Free Download Search >

Free interpolation software for linux

interpolation

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 57
Interpolate/Extrapolate 1.01

Interpolate/Extrapolate 1.01


Interpolate/Extrapolate plug-in does a simple linear interpolation between two images. more>>
Interpolate/Extrapolate plug-in does a simple linear interpolation between two images. However, it does not constrain the blending factor to be in [0, 1]. By using values outside that range, you can perform more interesting extrapolations among images.

For examples on how to use this sort of plug-in, check the Grafica Obscura pages. As an interesting example, below is shown a color image and its grayscale version. Extrapolating `away from the grayscale image leads to an image with increased saturation.

<<less
Download (0.006MB)
Added: 2006-09-21 License: GPL (GNU General Public License) Price:
1130 downloads
Time::TT::InterpolatingRealisation 0.001

Time::TT::InterpolatingRealisation 0.001


Time::TT::InterpolatingRealisation is a TT realised by interpolation. more>>
Time::TT::InterpolatingRealisation is a TT realised by interpolation.

SYNOPSIS

use Time::TT::InterpolatingRealisation;

$rln = Time::TT::InterpolatingRealisation->new($interpolator);

$tai_instant = $rln->to_tai($instant);
$instant = $rln->from_tai($tai_instant);
$rln1_instant = $rln0->to_realisation($rln1, $rln0_instant);
$rln0_instant = $rln0->from_realisation($rln1, $rln1_instant);

This class implements a realisation of Terrestrial Time (TT) by interpolation between known points of correlation between the realisation and International Atomic Time (TAI). See Time::TT::Realisation for the interface.

CONSTRUCTOR

Normally one wont use this constructor directly. See the tt_realisation function in Time::TT, which will construct a range of published realisations, most of which are implemented using this class. Use this directly only if the realisation that you desire is not available by that means.
Time::TT::InterpolatingRealisation->new(INTERPOLATOR)

Constructs and returns an object representing a realisation of TT that is defined by isolated points of correlation between it and TAI. The INTERPOLATOR argument must be an object of a subclass of Math::Interpolator, supplying the x and y methods. The x coordinate of the interpolators curve must represent TAI, and the y coordinate the realisation of interest. Times on both coordinates are represented as the number of seconds since the 1958 epoch, as described in Time::TT. All numbers must be Math::BigRat objects.

The class Time::TT::OffsetKnot may be useful in building the required interpolator.

<<less
Download (0.011MB)
Added: 2006-10-19 License: Perl Artistic License Price:
1100 downloads
De-interlace 1.01

De-interlace 1.01


De-interlace plug-in does a simple interpolation between the odd or even fields in an image to correct this. more>>
When an image is taken from a video capture source (f.i. a freeze-frame), sometimes only either the odd or the even fields in the frame get captured, resulting in an image which, line by line, is data-black-data-black-etc.

De-interlace plug-in does a simple interpolation between the odd or even fields in an image to correct this.

<<less
Download (0.005MB)
Added: 2006-09-21 License: GPL (GNU General Public License) Price:
1131 downloads
CGI::FastTemplate 1.09

CGI::FastTemplate 1.09


CGI::FastTemplate is a Perl extension for managing templates, and performing variable interpolation. more>>
CGI::FastTemplate is a Perl extension for managing templates, and performing variable interpolation.

SYNOPSIS

use CGI::FastTemplate;

$tpl = new CGI::FastTemplate();
$tpl = new CGI::FastTemplate("/path/to/templates");

CGI::FastTemplate->set_root("/path/to/templates"); ## all instances will use this path
$tpl->set_root("/path/to/templates"); ## this instance will use this path

$tpl->define( main => "main.tpl",
row => "table_row.tpl",
all => "table_all.tpl",
);

$tpl->assign(TITLE => "I am the title.");

my %defaults = ( FONT => "",
EMAIL => jmoore@sober.com,
);
$tpl->assign(%defaults);

$tpl->parse(ROWS => ".row"); ## the . appends to ROWS
$tpl->parse(CONTENT => ["row", "all"]);
$tpl->parse(CONTENT => "main");

$tpl->print(); ## defaults to last parsed
$tpl->print("CONTENT"); ## same as print() as "CONTENT" was last parsed

$ref = $tpl->fetch("CONTENT");

<<less
Download (0.013MB)
Added: 2006-08-01 License: Perl Artistic License Price:
1179 downloads
MapGeneration Project 0.3.0

MapGeneration Project 0.3.0


MapGeneration Project is a project featuring a server and helper programs to collect GPS information. more>>
MapGeneration Project is a project featuring a server and helper programs to collect GPS information from various sources and to then automatically generate a continuously improved, time annotated road map.
Nowadays gps-receivers are quite cheap and many people use them for route planning in their cars. On the other hand updated maps for the route planing systems are relativly expansive, if available at all.
The idea is to collect the data that people have recorded with their gps-receivers and combine it into one freely available road map. Besides being cheap and always current this map would also contain actual driving time information: Route planning on such a map would not have to use road type based approximations to calculate the fasted route.
In the MapGeneration Project we implement such a program and the end user tools needed to access the data. At the moment we concentrate on two programs: The MapGenerator itself and the MapGeneratorGUI used to administer the generator.
The MapGenerator is a server that accepts incoming data via network and combines the received road information into one big map. As the map might become quite big a database is used as storage. The MapGeneratorGUI connects to this database and displays the map.
As the best way to understand a program is to use it we will now give a short introduction to using the program.
Enhancements:
New features
- (Server) New filter to detect gaps in the input traces.
- (Server) Calculates and outputs total length and time of processed traces.
- (Server) Added full support for more than one processing thread, 2 is default now.
Changes
- (Server) Rewrote TraceServer and TraceConnection to support commoncpp2 1.0.x.
- (Server) Server tries to bind to 127.0.0.1 if no interfaces are found.
- (Server) Added curvature as a criterion for merging -> much better merging!
- (Server) Improved avoidance of double processing of nodes.
- (Server) Moved parsing of traces into TraceFilter.
- (General) Added lots of new methods to handle distances, bearings and interpolation.
- (General) Configuration system supports boolean values.
- (Buildsys) Changed parameters to specify config files to --with-wx-config and --with-ccgnu2-config
Bugfixes
- (Server) Protected data handling between thread with mutexs.
- (GUI) Fixed some string literals for full unicode support.
- (General) Cache: Fixed all size calculations and the size handling system.
- (General) Raised requirements for wxWidgets to 2.6 (beta versions since 2.5.3 should work).
- (General) Some small fixes to build with commoncpp2 1.0.x.
<<less
Download (0.57MB)
Added: 2005-08-02 License: GPL (GNU General Public License) Price:
1543 downloads
libintl-perl 1.16

libintl-perl 1.16


libintl-perl is a localization library for Perl. more>>
libintl-perl is a library that supports message translation for Perl, written in pure Perl (version 5.004 or better). A faster C version is also built and installed if the system fulfills all requirements.

Its interface is very similar to the gettext family of functions in C, and it uses the same file formats as GNU gettext, making it possible to use all tools available for gettext itself and to seamlessly integrate internationalized Perl code into mixed-language projects. An alternative library with a similar purpose is available as Locale::MakeText.

The core of the library is the module Locale::gettext_pp. It is a pure Perl re-implementation of the module Locale::gettext available on CPAN. However, the XS version Locale::gettext lacks some functions (notably plural handling and output conversion) that are already
present in Locale::gettext_pp. Locale::gettext_pp provides the internationalization functions that are available in your system library (libc) or additional C libraries (for example libintl in the case of GNU gettext).

The class Locale::Messages is an additional abstraction layer that is prepared for dynamic switching between different gettext implementations (for example Locale::gettext_pp and Locale::gettext). It provides basically the same interface as Locale::gettext_pp but in an
implementation-independent manner.

The module Locale::TextDomain is the only module that you should actually use in your software. It represents the message translation system for a particular text domain (a text domain is a unique identifier for your software package), makes use of Locale::Messages
for message translation and catalog location, and it provides additional utility functions, for example common shortcut names for i18n routines, tied hashes for hash-like lookups into the translation database, and finally an interpolation mechanism suitable for
internationalized messages.

The package also contains a charset conversion library Locale::Recode. This library is used internally by Locale::gettext_pp to allow on-the-fly charset conversion between the charset in a message catalog and the preferred (end) user charset. Its main advantage about the Encode package available for recent Perl versions is its portability, since it does not require the Unicode capabilities of Perl that were introduced with Perl 5.6. It fully supports UTF-8 with every Perl version and a wealth of common 8 bit encodings. If you have to do charset conversion with older Perl versions, then Locale::Recode may be worth a try although it is really only a helper library, not intended as a competitor to Encode.

<<less
Download (0.44MB)
Added: 2005-09-28 License: Artistic License Price:
1490 downloads
PulseAudio 0.9.6

PulseAudio 0.9.6


PulseAudio is a networked sound server for Linux and other Unix like operating systems. more>>
PulseAudio is a networked sound server for Linux and other Unix like operating systems. PulseAudio is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
Main features:
- Extensible plugin architecture (by loading dynamic loadable modules with dlopen())
- Support for more than one sink/source
- Better low latency behaviour
- Embedabble into other software (the core is available as C library)
- Completely asynchronous C API
- Simple command line interface for reconfiguring the daemon while running
- Flexible, implicit sample type conversion and resampling
- "Zero-Copy" architecture
- Module autoloading
- Very accurate latency measurement for playback and recording.
- May be used to combine multiple sound cards to one (with sample rate adjustment)
- Client side latency interpolation
- Ability to fully synchronize multiple playback streams
Installation:
As this package is made with the GNU autotools you should run ./configure inside the distribution directory for configuring the source tree. After that you should run make for compilation and make install (as root) for installation of polypaudio.
Enhancements:
- padsp has support for SNDCTL_DSP_SETTRIGGER, SNDCTL_DSP_SETDUPLEX, and SNDCTL_DSP_GETOPTR.
- A new ".ifexists" directive has been added to the CLI language for conditional configuration based on file existence.
- FLOAT32RE sample type support has been added.
- There are other bugfixes, cleanups, and portability fixes.
<<less
Download (1.0MB)
Added: 2007-05-28 License: LGPL (GNU Lesser General Public License) Price:
883 downloads
PDL::GSL::INTERP 2.4.3

PDL::GSL::INTERP 2.4.3


PDL::GSL::INTERP is a PDL interface to Interpolation routines in GSL. more>>
PDL::GSL::INTERP is a PDL interface to Interpolation routines in GSL.

SYNOPSIS

use PDL;
use PDL::GSL::INTERP;

my $x = sequence(10);
my $y = exp($x);

my $spl = PDL::GSL::INTERP->init(cspline,$x,$y);

my $res = $spl->eval(4.35);
$res = $spl->deriv(4.35);
$res = $spl->deriv2(4.35);
$res = $spl->integ(2.1,7.4);

FUNCTIONS

init()

The init method initializes a new instance of INTERP. It needs as input an interpolation type and two piddles holding the x and y values to be interpolated. The GSL routines require that x be monotonically increasing and a quicksort is performed by default to ensure that. You can skip the quicksort by passing the option {Sort => 0}.

The available interpolation types are :

linear

polynomial

cspline (natural cubic spline)
cspline_periodic (periodic cubic spline)
akima (natural akima spline)
akima_periodic (periodic akima spline)

Please check the GSL documentation for more information.

Usage:

$blessed_ref = PDL::GSL::INTERP->init($interp_method,$x,$y,$opt);

Example:

$x = sequence(10);
$y = exp($x);

$spl = PDL::GSL::INTERP->init(cspline,$x,$y)
$spl = PDL::GSL::INTERP->init(cspline,$x,$y,{Sort => 1}) #same as above

# no sorting done on x, user is certain that x is monotonically increasing
$spl = PDL::GSL::INTERP->init(cspline,$x,$y,{Sort => 0});

eval()

The function eval returns the interpolating function at a given point. By default it will barf if you try to extrapolate, to comply silently if the point to be evaluated is out of range pass the option {Extrapolate => 1}

Usage:

$result = $spl->eval($points,$opt);

Example:

my $res = $spl->eval($x)
$res = $spl->eval($x,{Extrapolate => 0}) #same as above

# silently comply if $x is out of range
$res = $spl->eval($x,{Extrapolate => 1})

deriv()

The deriv function returns the derivative of the interpolating function at a given point. By default it will barf if you try to extrapolate, to comply silently if the point to be evaluated is out of range pass the option {Extrapolate => 1}

Usage:

$result = $spl->deriv($points,$opt);

Example:

my $res = $spl->deriv($x)
$res = $spl->deriv($x,{Extrapolate => 0}) #same as above

# silently comply if $x is out of range
$res = $spl->deriv($x,{Extrapolate => 1})

deriv2()

The deriv2 function returns the second derivative of the interpolating function at a given point. By default it will barf if you try to extrapolate, to comply silently if the point to be evaluated is out of range pass the option {Extrapolate => 1}

Usage:

$result = $spl->deriv2($points,$opt);

Example:

my $res = $spl->deriv2($x)
$res = $spl->deriv2($x,{Extrapolate => 0}) #same as above

# silently comply if $x is out of range
$res = $spl->deriv2($x,{Extrapolate => 1})

integ()

The integ function returns the integral of the interpolating function between two points. By default it will barf if you try to extrapolate, to comply silently if one of the integration limits is out of range pass the option {Extrapolate => 1}

Usage:

$result = $spl->integ($a,$b,$opt);

Example:

my $res = $spl->integ($a,$b)
$res = $spl->integ($a,$b,{Extrapolate => 0}) #same as above

# silently comply if $a or $b are out of range
$res = $spl->eval($a,$b,{Extrapolate => 1})

<<less
Download (2.1MB)
Added: 2007-07-24 License: Perl Artistic License Price:
824 downloads
XML::Literal 0.02

XML::Literal 0.02


XML::Literal is a Perl module with syntax support for XML literals. more>>
XML::Literal is a Perl module with syntax support for XML literals.

SYNOPSIS

# This is not a source filter: it just augments glob().
use XML::Simple;
use XML::Literal &XMLin;

# Simple element
my $xml1 = < hr/ >;

# With variable interpolation
my $xml2 = < input value=$ARGV[0] / >;

# With an extra pair of angle brackets
my $xml3 = < < a href=/ > Some Text < /a > >;

# With escaped angle brackets
my $xml4 = < a href=/ > Some Text < /a >;

# Direct call to the xml-building glob constructor
my $xml5 = glob
< p >< em >
Some Text
< /em >< /p >
;

# This does not look like XML, so its still shell glob
my @files = < *.* >;

This module takes one function at its use line. Afterwards, all single-line < ... > calls that looks like a XML literal will be processed with that function, instead of the built-in shell glob.

Support for qx< ... > overriding for multiline XML literals is planned for Perl 5.10.

<<less
Download (0.024MB)
Added: 2007-02-15 License: MIT/X Consortium License Price:
981 downloads
Audiere Audio System 1.9.4

Audiere Audio System 1.9.4


Audiere is a high-level audio API. more>>
Audiere is a high-level audio API. It can play Ogg Vorbis, MP3, FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio output, Audiere supports DirectSound or WinMM in Windows, OSS on Linux and Cygwin, and SGI AL on IRIX.
Audiere is open source and licensed under the LGPL. This means that you may freely use Audiere in commercial products, as long as you do not modify the source code. If you do modify Audiere and release a product that uses your modifications, you must release your changes to the code under the LGPL as well.
Audiere is portable. It is tested on Windows, Linux-i386, Cygwin, and IRIX with at least three major compilers. Most of Audiere is endian-independent, so it would work with few modifications on other architectures.
Main features:
- Braindead easy API
- Supported file formats: Uncompressed WAV*, Uncompressed AIFF*, Ogg Vorbis*, FLAC*, MP3, MOD, S3M, IT, XM (* supports seeking)
- Streaming and buffered audio
- Volume, pan, and pitch shift modification
- Flat tone, square wave, white noise, and pink noise generation
- Runtime enumeration of audio devices and supported file formats
- Custom file streams
- Python, Delphi, Java, XPCOM (JavaScript in Mozilla) bindings
Enhancements:
- Replaced mpegsound with a stand-alone version of the MPEG audio decoder from ffmpegs libavcodec library. The result is an MP3 decoder that is more portable and works with more MP3 files. MP3 files are now seekable as well. (Matt Campbell)
- Added Speex support.
- Added support for reading metadata tags from sample sources. So far, Vorbis comments are supported, as are ID3v1 and ID3v1.1 tags in MP3 files. Interface designed with help from Brian Robb and Andy Friesen.
- Added callback system for stream stop events. (Richard Schaaf and Chad Austin)
- Added CD audio support, using the MCI subsystem on Win32/Cygwin and libcdaudio on Linux. (Chad Austin and Richard Schaaf)
- Added MIDI support through the MCI subsystem on Win32 and Cygwin. (Chad Austin)
- Dramatically reduced the latency of the OSS device. (Matt Campbell)
- Rewrote the Resampler class to use DUMBs cubic interpolation resampler, resulting in much better resampling for devices such as OSS that use Audieres own mixer. (Matt Campbell)
- Added bindings to wxWidgets. (Emanuel Dejanu)
- Fixed a bug in the DirectSound device implementation which significantly slowed down opening of devices and buffers. (Matt Campbell)
- Added pitchshift to the Python bindings. (Jason Chu)
- Split Doxygen documentation into one for users and one for developers.
<<less
Download (0.44MB)
Added: 2006-07-18 License: LGPL (GNU Lesser General Public License) Price:
1199 downloads
Template::Manual::Directives 2.19

Template::Manual::Directives 2.19


Template::Manual::Directives is a Perl module that contains template directives. more>>
Template::Manual::Directives is a Perl module that contains template directives.

Accessing and Updating Template Variables

GET

The GET directive retrieves and outputs the value of the named variable.

[% GET foo %]

The GET keyword is optional. A variable can be specified in a directive tag by itself.

[% foo %]

The variable can have an unlimited number of elements, each separated by a dot .. Each element can have arguments specified within parentheses.

[% foo %]
[% bar.baz %]
[% biz.baz(10) %]
...etc...

See Template::Manual::Variables for a full discussion on template variables.
You can also specify expressions using the logical (and, or, not, ?:) and mathematic operators (+ - * / % mod div).

[% template.title or default.title %]

[% score * 100 %]

[% order.nitems ? checkout(order.total) : no items %]

The div operator returns the integer result of division. Both % and mod return the modulus (i.e. remainder) of division. mod is provided as an alias for % for backwards compatibility with version 1.

[% 15 / 6 %] # 2.5
[% 15 div 6 %] # 2
[% 15 mod 6 %] # 3

CALL

The CALL directive is similar to GET in evaluating the variable named, but doesnt print the result returned. This can be useful when a variable is bound to a sub-routine or object method which you want to call but arent interested in the value returned.

[% CALL dbi.disconnect %]

[% CALL inc_page_counter(page_count) %]

SET

The SET directive allows you to assign new values to existing variables or create new temporary variables.

[% SET title = Hello World %]

The SET keyword is also optional.

[% title = Hello World %]

Variables may be assigned the values of other variables, unquoted numbers (digits), literal text (single quotes) or quoted text ("double quotes"). In the latter case, any variable references within the text will be interpolated when the string is evaluated. Variables should be prefixed by $, using curly braces to explicitly scope the variable name where necessary.

[% foo = Foo %] # literal value Foo
[% bar = foo %] # value of variable foo
[% cost = $100 %] # literal value $100
[% item = "$bar: ${cost}.00" %] # value "Foo: $100.00"

Multiple variables may be assigned in the same directive and are evaluated in the order specified. Thus, the above could have been written:

[% foo = Foo
bar = foo
cost = $100
item = "$bar: ${cost}.00"
%]

Simple expressions can also be used, as per GET.

[% ten = 10
twenty = 20
thirty = twenty + ten
forty = 2 * twenty
fifty = 100 div 2
six = twenty mod 7
%]

You can concatenate strings together using the _ operator. In Perl 5, the . is used for string concatenation, but in Perl 6, as in the Template Toolkit, the . will be used as the method calling operator and _ will be used for string concatenation. Note that the operator must be specified with surrounding whitespace which, as Larry says, is construed as a feature:

[% copyright = (C) Copyright _ year _ _ author %]

You can, of course, achieve a similar effect with double quoted string interpolation.

[% copyright = "(C) Copyright $year $author" %]

DEFAULT

The DEFAULT directive is similar to SET but only updates variables that are currently undefined or have no "true" value (in the Perl sense).

[% DEFAULT
name = John Doe
id = jdoe
%]

This can be particularly useful in common template components to ensure that some sensible default are provided for otherwise undefined variables.

[% DEFAULT
title = Hello World
bgcol = #ffffff
%]
< html>
< head>
< title>[% title %]
< /head>

< body bgcolor="[% bgcol %]">

<<less
Download (0.76MB)
Added: 2007-07-11 License: Perl Artistic License Price:
836 downloads
eXcavator 1.0.6

eXcavator 1.0.6


eXcavator is an XML query processing class for PHP. more>>
eXcavator is an XML query processing class for PHP. Queries are constructed using a small query language, and query results are returned as either loosely formed or strict XML, in formats suitable for both text and HTML.

One of eXcavators most useful features is its facility to insert query results into user-defined templates, which allow for a free interpolation of user text and the data extracted by the query. eXcavator runs on top of XML_PullParser, but uses a completely independent API. However, it does offer opportunities to use the facilities of both packages side by side for programmers familiar with both.

<<less
Download (0.047MB)
Added: 2006-11-03 License: GPL (GNU General Public License) Price:
1088 downloads
Text::MicroMason::Mason 1.96.0

Text::MicroMason::Mason 1.96.0


Text::MicroMason::Mason is a simple compiler for Mason-style Templating. more>>
Text::MicroMason::Mason is a simple compiler for Mason-style Templating.
SYNOPSIS
Mason syntax provides several ways to mix Perl into a text template:
< %args >
$name
< /%args >
% if ( $name eq Dave ) {
Im sorry < % $name % >, Im afraid I cant do that right now.
% } else {
< %perl >
my $hour = (localtime)[2];
my $daypart = ( $hour > 11 ) ? afternoon : morning;
< /%perl >
Good < % $daypart % >, < % $name % >!
% }
< & "includes/standard_footer.msn" & >
< %doc >
Heres a private developr comment describing this template.
< /%doc >
Create a Mason object to interpret the templates:
use Text::MicroMason;
my $mason = Text::MicroMason->new();
You can compile and execute templates using the standard MicroMason methods:
$coderef = $mason->compile( file => simple.tmpl );
print $coderef->( %arguments );
print $mason->execute( file => simple.tmpl, %arguments );
Main features:
- Template interpolation with
- Literal Perl lines with leading %
- Named %args, %perl, %once, %init, %cleanup, and %doc blocks
- The $m mason object, although with many fewer methods
- Expression filtering with |h and |u (via -Filter mixin)
<<less
Download (0.046MB)
Added: 2007-08-09 License: Perl Artistic License Price:
806 downloads
jrMan 0.4

jrMan 0.4


jrMan is an open source version of the REYES rendering algorithm used by Pixars PhotoRealistic Renderman. more>>
jrMan is an open source version of the REYES rendering algorithm used by Pixars PhotoRealistic Renderman.
Almost all digital production work in the film industry is rendered using this algorithm, yet most computer graphics textbooks fail to mention it or only provide a very superficial description of how it works.
jrMans main objective is to provide an open source implementation of the REYES rendering algorithm to permit, both students and teachers, to understand how it works and experiment with it.
To achieve this objective the source code must be easy to read and should run on most operating systems. This is the one of the reasons we are implementing it in Java.
Main features:
- NURBS
- Curves
- Rational bicubic patches
- Patch meshes
- Smooth micropolygon interpolation
- Delayed ReadArchive
- Alpha output in RGBA images
- Many bug fixes
- Smaller RAM footprint when rendering large/complex scenes
<<less
Download (7.2MB)
Added: 2007-02-27 License: GPL (GNU General Public License) Price:
971 downloads
PDL::Slatec 2.4.3

PDL::Slatec 2.4.3


PDL::Slatec is a PDL interface to the slatec numerical programming library. more>>
PDL::Slatec is a PDL interface to the slatec numerical programming library.

SYNOPSIS

use PDL::Slatec;

($ndeg, $r, $ierr, $a) = polyfit($x, $y, $w, $maxdeg, $eps);

This module serves the dual purpose of providing an interface to parts of the slatec library and showing how to interface PDL to an external library. Using this library requires a fortran compiler; the source for the routines is provided for convenience.

Currently available are routines to: manipulate matrices; calculate FFTs; fit data using polynomials; and interpolate/integrate data using piecewise cubic Hermite interpolation.

Piecewise cubic Hermite interpolation (PCHIP)

PCHIP is the slatec package of routines to perform piecewise cubic Hermite interpolation of data. It features software to produce a monotone and "visually pleasing" interpolant to monotone data. According to Fritsch & Carlson ("Monotone piecewise cubic interpolation", SIAM Journal on Numerical Analysis 17, 2 (April 1980), pp. 238-246), such an interpolant may be more reasonable than a cubic spline if the data contains both "steep" and "flat" sections. Interpolation of cumulative probability distribution functions is another application. These routines are cryptically named (blame FORTRAN), beginning with ch, and accept either float or double piddles.

Most of the routines require an integer parameter called check; if set to 0, then no checks on the validity of the input data are made, otherwise these checks are made. The value of check can be set to 0 if a routine such as chim has already been successfully called.

If not known, estimate derivative values for the points using the chim, chic, or chsp routines (the following routines require both the function (f) and derivative (d) values at a set of points (x)).

Evaluate, integrate, or differentiate the resulting PCH function using the routines: chfd; chfe; chia; chid.
If desired, you can check the monotonicity of your data using chcm.

EOD # un-confuse emacs

# if define chbs, then add something like the following to point 3: # # or use chbs to convert a PCH function into B-representation # for use with the B-spline routines of slatec # (although no interface to them currently exist). #
# add function definitions after finishing the first pp_addpm(), since this # adds a =head1 FUNCTIONS line at the end of the text

pp_addpm(<<less
Download (2.1MB)
Added: 2007-08-02 License: Perl Artistic License Price:
819 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 4
  • 1
  • 2
  • 3
  • 4