

<B>derivativesB> x_sequence y_sequence 
Given a reference to an array of x values in x_sequence and a reference
to an array of y values in y_sequence, return an array of reasonable
derivatives. The x_sequence values are presumed to be sorted in
increasing numerical order.
If there is an error in the input, such as x_sequence and y_sequence containing a different number of elements, then the subroutine returns an empty list in list context, an undefined value in scalar context, or nothing in a void context. 
<B>constant_interpolateB> x x_sequence y_sequence 
Given a reference to an array of x values in x_sequence and a reference
to an array of y values in y_sequence, return the y value associated
with the first x value less than or equal to x. In other words, if
x_sequence>[i] <= x < x_sequence>[i+1]
then return
If x is less than x_sequence>[0], then return y_sequence>[0]. If x is greater than x_sequence[1], then return y_sequence>[1]. If there is an error in the input, such as x_sequence and y_sequence containing a different number of elements, then the subroutine returns an empty list in list context, an undefined value in scalar context, or nothing in a void context. 
<B>linear_interpolateB> x x_sequence y_sequence 
Given a reference to an array of x values in x_sequence and a reference
to an array of y values in y_sequence, calculate the interpolated
value y that corresponds to the value x. The returned value y lies
on the straight line between the two points surrounding x. If <x>
lies outside of the range of values spanned by x_sequence then a
linear extrapolation will be done.
In an array context, linear_interpolate will return an array containing the y value and and slope between the two nearest surrounding points. If there is an error in the input, such as x_sequence and y_sequence containing a different number of elements, then the subroutine returns an empty list in list context, an undefined value in scalar context, or nothing in a void context. 
<B>robust_interpolateB> value x_sequence y_sequence [dy_sequence] 
Given a reference to an array of x values in x_sequence and a reference
to an array of y values in y_sequence, calculate the interpolated
value y that corresponds to the value x. The interpolated curve
generated by robust_interpolate is smooth and even the derivatives
of the curve are smooth with only a few exceptions.
The returned value y lies on the curve between the two points surrounding x. If <x> lies outside of the range of values spanned by x_sequence then a linear extrapolation will be done. In an array context, linear_interpolate will return an array containing the y value and and slope between the two nearest surrounding points. If there is an error in the input, such as x_sequence and y_sequence containing a different number of elements, then the subroutine returns an empty list in list context, an undefined value in scalar context, or nothing in a void context. 
Blair Zajac <blair@orcaware.com>.
Copyright (C) 19982005 Blair Zajac. All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 354: =back doesn’t take any parameters, but you said =back 4
perl v5.20.3  MATH::INTERPOLATE (3)  20131110 
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.