1Derivative(3) User Contributed Perl Documentation Derivative(3)
2
3
4
6 Math::Derivative - Numeric 1st and 2nd order differentiation
7
9 use Math::Derivative qw(Derivative1 Derivative2);
10 @dydx=Derivative1(\@x,\@y);
11 @d2ydx2=Derivative2(\@x,\@y);
12 @d2ydx2=Derivative2(\@x,\@y,$yp0,$ypn);
13
15 This Perl package exports functions for performing numerical first
16 (Derivative1) and second Derivative2) order differentiation on vectors
17 of data. They both take references to two arrays containing the x and y
18 ordinates of the data and return an array of the 1st or 2nd derivative
19 at the given x ordinates. Derivative2 may optionally be given values to
20 use for the first dervivative at the start and end points of the data -
21 otherwiswe 'natural' values are used.
22
24 $Log: Derivative.pm,v $ Revision 1.1 1995/12/26 16:26:59 willijar
25 Initial revision
26
28 Let me know.
29
31 John A.R. Williams <J.A.R.Williams@aston.ac.uk>
32
33
34
35perl v5.12.0 1995-12-26 Derivative(3)