GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MATH::DERIVATIVE (3)

.ds Aq ’

NAME



 Math::Derivative - Numeric 1st and 2nd order differentiation



CONTENTS

SYNOPSIS



    use Math::Derivative qw(Derivative1 Derivative2);

    @dydx = Derivative1(\@x, \@y);
    @d2ydx2 = Derivative2(\@x, \@y);
    @d2ydx2 = Derivative2(\@x, \@y, $yp0, $ypn);



DESCRIPTION

This Perl package exports functions for performing numerical first (<B>Derivative1B>) and second <B>Derivative2B>) order differentiation on vectors of data.

    FUNCTIONS

The functions must be imported by name.

Derivative1()

Take the references to two arrays containing the x and y ordinates of the data, and return an array of the 1st derivative at the given x ordinates.

Derivative2()

Take references to two arrays containing the x and y ordinates of the data and return an array of the 2nd derivative at the given x ordinates.

You may optionally give values to use as the first dervivatives at the start and end points of the data. If you don’t, first derivative values will be calculated from the arrays for you.

AUTHOR

John A.R. Williams J.A.R.Williams@aston.ac.uk John M. Gamble jgamble@cpan.org (current maintainer)
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MATH::DERIVATIVE (3) 2015-07-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.