NAME

Math::Gsl::Sf - Perl Interface to Special Function of The GNU Scientific Library

SYNOPSIS

use Math::Gsl::Sf qw(:Gamma);
use strict;

my $sf = new Math::Gsl::Sf;
my $r = new Math::Gsl::Sf::Result;

# 1 and 3 way same speed, 2 is very slow, 4 very fast
# Look at doc/bench to see benchmark
print "1: Gamma(5): " . Math::Gsl::Sf::gamma( 5 ) . "\n";
print "2: Gamma(5): " . $sf->gamma(5) . "\n";
print "3: Gamma(5): " . gamma(5) . "\n";
print "4: Gamma(5): " . Math::Gsl::Sf::sf_gamma(5) . "\n";

my $status = $sf->gamma_e( 5 , $r );
print "5: Gamma(5): " . $r->val . ",". $r->err ." $status \n";

DESCRIPTION

  Current Function Families and their description:
		all - Everything
                Airy - Airy Functions  
                Bessel - Bessel Functions 
                Clausen - Clausen Functions 
                Coulomb - Coulomb Wave Functions 
                Coupling - Coupling Coefficients 
                Dawson - Dawson Function 
                Debye - Debye Functions 
		Dilog - Dilogarithm   
                Elementary - Elementary Functions
                EllipticInt - Elliptic Integrals 
                EllipticJac - Elliptic Functions (Jacobi) 
                Error - Error Function
                Exp - Exponential Function 
                ExpInt - Exponential Integrals
                FermiDirac - Fermi-Dirac Function 
                Gamma  - Gamma Function (includes Factorial) 
                Gegenbauer - Gegenbauer Functions 
                HyperGeometric - Hypergeometric Functions 
                Laguerre - Laguerre Functions 
		Lambert  - Lambert Functions
                Legendre - Legendre Functions and Spherical Harmonics 
                Log - Logarithm and Related Functions 
                Power - Power Function (x^n) 
                Psi - Psi (Digamma) Function
                Synchrotron - Synchrotron Functions 
                Transport - Transport Functions 
                Trig - Trigonometric Functions    
                Zeta - Zeta Functions 

Exported constants

None

Exported functions

Please go to http://sources.redhat.com/gsl/ref/gsl-ref_toc.html for a complete
list of the functions, there are a lot of them, and GSL already has very good
documentation for them.

AUTHOR

Jonathan Leto, jonathan@leto.net

SEE ALSO

GNU Scientific Library http://sources.redhat.com/gsl

To get Math::Gsl: http://www.leto.net/code/gsl/