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
Math::GSL::Diff(3) User Contributed Perl Documentation Math::GSL::Diff(3)

Math::GSL::Diff - Numerical differentiation routines

    use Math::GSL::Diff qw/:all/;

Here is a list of all the functions included in this module :
"gsl_diff_central"
This function computes the numerical derivative of the function f at the point x using an adaptive central difference algorithm. The result is an array where the first position is an error code (0 for success), the second is derivative value, and the third is an estimate of its absolute error.

   my ($success, $result, $error) =
         gsl_diff_central(sub { return $_[0] ** 1.5 }, 2.0);
    
"gsl_diff_backward"
This function computes the numerical derivative of the function f at the point x using an adaptive forward difference algorithm. Its usage is similar to "gsl_diff_central".

   my ($success, $result, $error) =
          gsl_diff_backward(sub { return $_[0] ** 1.5 }, 0.0);
    
"gsl_diff_forward"
This function computes the numerical derivative of the function f at the point x using an adaptive backward difference algorithm. Its usage is similar to "gsl_diff_central".

   my ($success, $result, $error) =
          gsl_diff_forward(sub { return $_[0] ** 1.5 }, 1.0);
    

Jonathan "Duke" Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>

Copyright (C) 2008-2021 Jonathan "Duke" Leto and Thierry Moisan

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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