in reply to Re: Split range 0 to M into N non-overlapping (roughly equal) ranges.
in thread Split range 0 to M into N non-overlapping (roughly equal) ranges.
$ ranges -N=7 -M=9 0 : from 0 to 1 ( 2) 1 : from 2 to 3 ( 2) 2 : from 4 to 5 ( 2) 3 : from 6 to 7 ( 2) 4 : from 8 to 9 ( 2) 5 : from 10 to 11 ( 2) 6 : from 12 to 9 ( -2)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Split range 0 to M into N non-overlapping (roughly equal) ranges.
by jdrago999 (Pilgrim) on Mar 15, 2011 at 05:27 UTC |