Jonathan Leto > Math-GSL > Math::GSL::Statistics

Download:
Math-GSL-0.28.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  8
Open  8
View/Report Bugs
Source   Latest Release: Math-GSL-0.34

NAME ^

Math::GSL::Statistics - Statistical functions

SYNOPSIS ^

    use Math::GSL::Statistics qw /:all/;
        
    my $data     = [17.2, 18.1, 16.5, 18.3, 12.6];
    my $mean     = gsl_stats_mean($data, 1, 5);
    my $variance = gsl_stats_variance($data, 1, 5);
    my $largest  = gsl_stats_max($data, 1, 5);
    my $smallest = gsl_stats_min($data, 1, 5);
    print qq{
    Dataset : @$data
    Sample mean           $mean 
    Estimated variance    $variance
    Largest value         $largest
    Smallest value        $smallest
    };

DESCRIPTION ^

Here is a list of all the functions in this module :

The following function are simply variants for int and char of the last functions:

You have to add the functions you want to use inside the qw /put_funtion_here /. You can also write use Math::GSL::Statistics qw/:all/; to use all avaible functions of the module. Other tags are also avaible, here is a complete list of all tags for this module :

all
int
char

For more informations on the functions, we refer you to the GSL offcial documentation: http://www.gnu.org/software/gsl/manual/html_node/

AUTHORS ^

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

COPYRIGHT AND LICENSE ^

Copyright (C) 2008-2011 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.

syntax highlighting: