To solve optimization problems I have seen this:
Is there a more elegant way to do this with alternative conditional expressions? Is there something equivelant to
if, elseif, else that you'd see in Matlab, Maple, RStudio, Ptyhon, etc?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.Sign up to join this community