The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GenOO::Helper::MyMath - A collection of useful mathematical methods

SYNOPSIS

    A collection of useful mathematical methods
    

DESCRIPTION

    This class contains useful mathematical methods such as mean, round_digits, sigmoid, min, max, glog

EXAMPLES

    #mean
    my @array = [0,20,100];
    my $mean = GenOO::Helper::MyMath->mean(\@array); #returns mean (40)

    #round_digits
    my $number = 1.012345;
    my $rounded = GenOO::Helper::MyMath->round_digits($number,2); #returns (1.01)