search for: extra1_1

Displaying 1 result from an estimated 1 matches for "extra1_1".

Did you mean: extra1_2
2007 Feb 01
3
Can this loop be delooped?
...there are totalength%%numgroups number of groups of length 1+totalength%/%numgroups, with the large groups all to one side, left if place=LEFT # totalength >= numgroups >= groupnum all integers, or it won't work right if(charmatch(toupper(place),"RIGHT",nomatch=FALSE)==1){ extra1_1=max((groupnum-1)+((totalength%%numgroups)-numgroups),0) extra1_2=(groupnum>numgroups-totalength%%numgroups) } else{ extra1_1=min(totalength%%numgroups,groupnum-1) extra1_2=(groupnum<=totalength%%numgroups) } gsize=totalength%/%numgroups gleft=((groupnum-1)*gsize)+extra1_1+1 gright...