ハウツー 15 ステップを1つのセッション内で順に実行します。各ステップはエンジンで実行済みで、以下の出力は実際に生成されたものです。
x = 5;
y = 7;
x + y12Clear[x, y]出力なし - このステップは次のステップの準備をします。
Expand[(x + y) ^ 2]x^2 + 2*x*y + y^2Clear["Global`*"]出力なし - このステップは次のステップの準備をします。
f[x_] := Table[i, {i, 0, x}]出力なし - このステップは次のステップの準備をします。
f[{2, 4, 5, 6}]Table[i, {i, 0, {2, 4, 5, 6}}]SetAttributes[f, Listable]
f[{2, 4, 5, 6}]{{0, 1, 2}, {0, 1, 2, 3, 4}, {0, 1, 2, 3, 4, 5}, {0, 1, 2, 3, 4, 5, 6}}Clear[f]
? fInformationData[<|ObjectType -> Symbol, Usage -> Global`f, Documentation -> None, OwnValues -> None, UpValues -> None, DownValues -> None, SubValues -> None, DefaultValues -> None, NValues -> None, FormatValues -> None, Options -> None, Attributes -> {Listable}, FullName -> Global`f|>]ClearAll[f]
? fMissing[UnknownSymbol, f]f[x_] := Table[i, {i, 0, x}]
SetAttributes[f, Listable]
? fInformationData[<|ObjectType -> Symbol, Usage -> Global`f, Documentation -> None, OwnValues -> None, UpValues -> None, DownValues -> Information`InformationValueForm[DownValues, f, {f[x_] :> Table[i, {i, 0, x}]}], SubValues -> None, DefaultValues -> None, NValues -> None, FormatValues -> None, Options -> None, Attributes -> {Listable}, FullName -> Global`f|>]ClearAttributes[f, Listable]
? fInformationData[<|ObjectType -> Symbol, Usage -> Global`f, Documentation -> None, OwnValues -> None, UpValues -> None, DownValues -> Information`InformationValueForm[DownValues, f, {f[x_] :> Table[i, {i, 0, x}]}], SubValues -> None, DefaultValues -> None, NValues -> None, FormatValues -> None, Options -> None, Attributes -> {}, FullName -> Global`f|>]x = 55x=.
? xMissing[UnknownSymbol, x]Remove[x]
? xMissing[UnknownSymbol, x]x
? xMissing[UnknownSymbol, x]