Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Perl (http://www.domainnameforum.org/forumdisplay.php?f=129)
-   -   set undef values to zero in array for histogram (http://www.domainnameforum.org/showthread.php?t=124655)

webdev 09-16-2010 06:04 AM

set undef values to zero in array for histogram
 
Hi PERL-fans, I have a problem with an array while coding a histogram: The data is in an array @dataI initialise my histogram array like: @histo=();Then, I loop over the datapoints and at each point compute in which bin that point would be: for(my $i=0; $i


All times are GMT -4. The time now is 10:17 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.