Math::Interpolator::Robust - lazy robust interpolation
use Math::Interpolator::Robust; $ipl = Math::Interpolator::Robust->new(@points); $y = $ipl->y($x); $x = $ipl->x($y);
This is a subclass of the lazy interpolator class Math::Interpolator. This class implements a robust smooth interpolation. See Math::Interpolator for the interface. The algorithm is the same one implemented by robust_interpolate in the eager interpolator module Math::Interpolate.
Math::Interpolator
robust_interpolate
Math::Interpolate
This code is neutral as to numeric type. The coordinate values used in interpolation may be native Perl numbers, Math::BigRat objects, or possibly other types. Mixing types within a single interpolation is not recommended.
Math::BigRat
Only interior points are handled. Interpolation will be refused at the edges of the curve.
These methods are part of the standard Math::Interpolator interface.
Math::Interpolate, Math::Interpolator
Andrew Main (Zefram) <zefram@fysh.org>
Copyright (C) 2006, 2007, 2009, 2010, 2012 Andrew Main (Zefram) <zefram@fysh.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Math::Interpolator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Interpolator
CPAN shell
perl -MCPAN -e shell install Math::Interpolator
For more information on module installation, please visit the detailed CPAN module installation guide.