process each value of a multislider

Mar 27, 2013 at 4:24pm

process each value of a multislider

Hi
I was wondering what would be the best way to multiply each of the values coming out of a multislider by a number.
Eg: I have a 32 slider, multislider with a value range of 1-10. Now I want to multiply each value by 2.

I believe some of the zl objects would do the trick but I’m not sure which one.

Any help is greatly appreciated.

Thanks

#67365
Mar 27, 2013 at 4:32pm

Maybe vexpr with scalarmode set to 1.

#242358
Mar 29, 2013 at 12:00am

          

[attachment=219304,5320]

Attachments:
  1. howtolistforum.jpg
#242359
Mar 29, 2013 at 12:04am

vexpr $f1 * 2.

…that’s enough, even without changing scalarmode. No abstractions needed :)

#242360

You must be logged in to reply to this topic.