Switch
Switch[expr,form1,value1,form2,value2,…]
expr を評価して,それぞれの formiと順に比較し,最初にマッチするものに対応する valueiを評価して返す.
例題
Wolfram Research (1988), Switch, Wolfram言語関数, https://reference.wolfram.com/language/ref/Switch.html.
テキスト
Wolfram Research (1988), Switch, Wolfram言語関数, https://reference.wolfram.com/language/ref/Switch.html.
CMS
Wolfram Language. 1988. "Switch." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Switch.html.
APA
Wolfram Language. (1988). Switch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Switch.html