操作指南 15 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。
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]全部操作示例 · 函数参考 · 从 MCP 客户端使用