Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Generate Attributes, support for function "choose"
tennenrishin
Can we request a function (that can be used, for example, in Generate Attributes) that generalizes 'if'?
choose(1,a,b,c)==a
choose(2,a,b,c)==b
choose(3,a,b,c)==c
with variable number of arguments
Find more posts tagged with
AI Studio
Accepted answers
All comments
MariusHelf
Hm, do you have looping over attributes in mind? Would not be the Loop Attributes operator a valid choice then?
tennenrishin
Not really. I just think it can be a useful function for composing certain expressions, which is probably also why spreadsheets support it.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups