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