GenOO::Helper::MyMath - A collection of useful mathematical methods
A collection of useful mathematical methods
This class contains useful mathematical methods such as mean, round_digits, sigmoid, min, max, glog
#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)
To install GenOO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GenOO
CPAN shell
perl -MCPAN -e shell install GenOO
For more information on module installation, please visit the detailed CPAN module installation guide.