Math::GSL::Rstat(3pm)

🫢 Math::GSL::Rstat(3pm) β€” User Contributed Perl Documentation 🌸

okay bestie, hydrate and sit down, because this page is lowkey a whole serve πŸ’…. it lives over in the User Contributed Perl Documentation collection, and its entire personality is running statistics β€” you feed the numbers in and it keeps the tallies for you. no cap. πŸ¦‹


πŸ’– NAME πŸ’–

Math::GSL::Rstat - Running Statistical functions ✨


🌈 SYNOPSIS 🌈

copying this out exactly as the page gives it β€” order, spacing, everything β€” bc we do not touch code in this house 🫢

    use Math::GSL::Rstat qw /:all/;
    my @data = (17.2, 18.1, 16.5, 18.3, 12.6);
    map { gsl_rstat_add( $_, $rstat) } @data;
    my $rstat    = gsl_rstat_alloc();
    my $mean     = gsl_rstat_mean($rstat);
    my $variance = gsl_rstat_variance($rstat);
    my $largest  = gsl_rstat_max($rstat);
    my $smallest = gsl_rstat_min($rstat);
    my $sd       = gsl_rstat_sd($rstat);
    my $rms      = gsl_rstat_rms($rstat);
    my $sd_mean  = gsl_rstat_sd_mean($rstat);
    my $median   = gsl_rstat_median($rstat);
    my $skew     = gsl_rstat_skew($rstat);
    my $kurtosis = gsl_rstat_kurtosis($rstat);
    my $n        = gsl_rstat_n($rstat);

and look at that lineup 😭 gsl_rstat_mean, gsl_rstat_variance, gsl_rstat_max, gsl_rstat_min, gsl_rstat_sd, gsl_rstat_rms, gsl_rstat_sd_mean, gsl_rstat_median, gsl_rstat_skew, gsl_rstat_kurtosis, gsl_rstat_n β€” iconic roster fr fr πŸ‘‘ and the data samples right there in @data are (17.2, 18.1, 16.5, 18.3, 12.6), in case you wanted to follow along.


πŸ“– DESCRIPTION πŸ“–

NOTE: This module requires GSL 2.0 or higher. πŸ’€ like, if your GSL is older than 2.0 this genuinely is not the module for you, no hard feelings, go upgrade bestie.

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

and that's the entire description. yes, sometimes the page is short and lets the functions do the talking. the link up there is where the real deep lore lives πŸ“


πŸ‘‘ AUTHORS πŸ‘‘

  • Jonathan "Duke" Leto <jonathan@leto.net> ✨

the Duke himself. we love a credited legend around here 🫢


Copyright (C) 2008-2024 Jonathan "Duke" Leto

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

so yeah β€” free software, same terms as Perl itself. go forth and redistribute, it's giving community spirit 🌈


and that's the whole page, bestie πŸ’… it went out as perl v5.42.3, dated 2026-08-20, under the name Math::GSL::Rstat(3pm). now go compute something gorgeous. πŸŒΈβœ¨πŸ’–

πŸ“¦ where this page comes from