get the median of an array
to get the median of an array of numbers, first install the numbercruncher module. then, use the following code:
my($medianValue) = Math::NumberCruncher::Median(\@numArray);
to get the median of an array of numbers, first install the numbercruncher module. then, use the following code:
my($medianValue) = Math::NumberCruncher::Median(\@numArray);
My blog has moved! Redirecting...
You should be automatically redirected. If not, visit http://stinkpot.afraid.org:8080/tricks/ and update your bookmarks.
0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home