Which - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

MmaTranslator[Mma]

  

Which

  

evaluate a specified test and return the value

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Which(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The Which command evaluates a specified test and returns its value corresponding to the first on the yields TRUE.

Examples

h:= proc (x) options operator, arrow; Which(x < -2, x/3, x > 3, x^2, true, 0) end proc;

(1)

(2)

(3)

Alternatively, you can use the FromMma command with the evaluate option specified.

(4)

(5)

See Also

MmaTranslator

MmaTranslator[FromMma]

MmaTranslator[Mma]

 


Download Help Document