The discussion here might be relevant: A switch type function
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| A switch type function | 18 | 28194 | August 13, 2021 | |
| Why doesn't Julia have the `switch-case` structure? | 4 | 2469 | February 29, 2024 | |
| Julia 2.0: superSwitch or SuperCase ... or generalized if-then-else statement | 3 | 2359 | June 25, 2021 | |
| IF...ELSEIF...ELSE performance | 16 | 25582 | May 29, 2019 | |
| Np.select equivalent to deal with multiple conditions | 6 | 1063 | September 22, 2022 |