Help for this page

Select Code to Download


  1. or download this
      foreach my $j ($col_start .. $#column) {
        my $nIndex = $n[$j];
    ...
        $x_tot[$j] += $x[$nIndex][$j];
        $n[$j]++;
      }
    
  2. or download this
      foreach my $j ($col_start .. $#column) {
        my $nIndex = $n[$j] // 0;
    ...
        $x_tot[$j] += $x[$nIndex][$j];
        $n[$j]++;
      }