Jonathan Leto > Math-GSL-0.27 > Math::GSL::Sum

Download:
Math-GSL-0.27.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  9
Open  6
View/Report Bugs
Source   Latest Release: Math-GSL-0.28

NAME ^

Math::GSL::Sum - Sum series with the Levin u-transform

SYNOPSIS ^

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

    my $w = gsl_sum_levin_u_alloc(5);
    $values = [8,2,3,4,6];
    my ($status, $sum_accel, $abserr) = gsl_sum_levin_u_accel($values, 5, $w); 
    gsl_sum_levin_u_free($w);

    my $w2 = gsl_sum_levin_utrunc_alloc(5);
    my ($status2, $sum_accel2, $abserr_trunc) = gsl_sum_levin_utrunc_accel($values, 5, $w2);
    gsl_sum_levin_utrunc_free($w);

DESCRIPTION ^

These functions accelerate the convergence of a series using the Levin u-transform.

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: