[5.1.1]マトリクス | [5.1.3]グラフ2

[5.1.2] 条件判断と繰り返し

If[条件, true の場合, false の場合]
[Graphics:Images/5.1.2_gr_1.gif]

[Graphics:Images/5.1.2_gr_2.gif]

[Graphics:Images/5.1.2_gr_3.gif]
Which[条件1, 処理1, 条件2, 処理2, ... ]
[Graphics:Images/5.1.2_gr_4.gif]

[Graphics:Images/5.1.2_gr_5.gif]

[Graphics:Images/5.1.2_gr_6.gif]
この他に Switch[...] もある

Do[処理, {回数}]
   3回
[Graphics:Images/5.1.2_gr_7.gif]
[Graphics:Images/5.1.2_gr_8.gif]
   n: 1〜100 まで 100回
[Graphics:Images/5.1.2_gr_9.gif]
[Graphics:Images/5.1.2_gr_10.gif]
   n: 2〜4
[Graphics:Images/5.1.2_gr_11.gif]
[Graphics:Images/5.1.2_gr_12.gif]
[Graphics:Images/5.1.2_gr_13.gif]
[Graphics:Images/5.1.2_gr_14.gif]
For[初期値, 条件, 増分, 後処理]
[Graphics:Images/5.1.2_gr_15.gif]
[Graphics:Images/5.1.2_gr_16.gif]
While
[Graphics:Images/5.1.2_gr_17.gif]
[Graphics:Images/5.1.2_gr_18.gif]
Table
[Graphics:Images/5.1.2_gr_19.gif]
[Graphics:Images/5.1.2_gr_20.gif]
[Graphics:Images/5.1.2_gr_21.gif]
[Graphics:Images/5.1.2_gr_22.gif]

[5.1.1]マトリクス | [5.1.3]グラフ2

Converted by Mathematica      May 22, 2001