I'm having problem with constraining the number of outputs in my program.
Say I have a grid of 100x100 perforations on a metal sheet that I sampled from an image sampler. I have a wide range of radii/openings, but I only want 5 different perforation sizes. Is there an easy way of doing this? I tried to do split-lists but that messes up the list order for me.
Hello Jerry,
Here is a way to do it, though it might be overly complicated. Surely someone can find a more elegant way to go about it...
Essentially it tests if the value is within one of 5 groups, then culls the necessary values out of the list, duplicates the data you want to use as the contraints, then reassembles the list.