ICE – Setting all array elements less than X to array minimum

eX-SI

A couple of weeks ago rray posted this tip about If nodes, where instead of iterating over an array, he plugs an array into the If node.
ifperarray
This particular example (if array element < 12, set it to the array minimum) could be done without using either a Repeat or an If (although the If is more elegant). If you've got a minute or two, work your way through it; if not, click through the link below to see how.
SetLessThanXtoArrayMin

View original post

Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s