Is there a switch/case statement in Maple? So that instead of:
if (a = a1) then
b1
elif (a = a2) then
b2
elif (a = a3) then
b3
end if
Something like:
switch (a) {
case: a1 {b1}
case: a2 {b2}
case: a3 {b3}
}
???
I'm potentially going to have a long list of elif's and might need more efficient way of doing it.