Perform a mathematical function on iterated structure

mattgolsen's picture

I'm trying to figure out a way to perform a math function on an array of structure values inside of an iterator, on Leopard. Can anyone give me some advice on this? I'd prefer to use an iterator for this as the number of data points will always be fluctuating...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

usefuldesign.au's picture
Re: Perform a mathematical function on iterated structure

Can you expand just a little. Example? Not quite sure where you're going with it.

toneburst's picture
Re: Perform a mathematical function on iterated structure

The Mathematical Expression patch might be what you're after. If you don't have massive structures, you might be better using a JavaScript patch to loop through the structure. That way, you wouldn't necessarily need at Iterator.

See this http://kineme.net/forum/Discussion/DevelopingCompositions/addandderiveav... thread.

a|x