StepMonitor
✖
StepMonitor
更多信息

- StepMonitor:>expr 一般给出选项设置.
- 使用 :> 而非 -> 可以避免立即计算 expr.
- 无论何时计算 expr 时,数值计算中的所有变量都指向当前值.
- 有效使用 Block[{var1=val1,…},expr].
范例
打开所有单元关闭所有单元基本范例 (3)常见实例总结
用 FindMinimum 监控数值最小化的步骤:
In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-wpgbe
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-jn7hhw
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-qke2ip
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-hnw524
Out[2]=2

范围 (4)标准用法实例范围调查
In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-8v3nl
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-bchsqj
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-e1501m
In[3]:=3

✖
https://wolfram.com/xid/0i1inhsc6-l9x6zq
Out[3]=3

In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-wteui
In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-bed63a
In[3]:=3

✖
https://wolfram.com/xid/0i1inhsc6-d7c8c7
Out[3]=3

In[4]:=4

✖
https://wolfram.com/xid/0i1inhsc6-i3mqo
Out[4]=4

用 NDSolve 解偏微分方程并为时间 (t) 绘制空间 (x) 的图:
In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-flia3x
In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-klx0oh
Out[2]=2

In[3]:=3

✖
https://wolfram.com/xid/0i1inhsc6-kxt05c
Out[3]=3

应用 (4)用该函数可以解决的问题范例
In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-h5yjc
In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-baywch
In[3]:=3

✖
https://wolfram.com/xid/0i1inhsc6-d5ntyu
Out[3]=3

In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-fhvgeh
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-dlc6ll
Out[2]=2

用 NDSolve 获得常微分方程的数值解决方案的步长:
In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-fv8fej
In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-emjuaa
Out[2]=2

用 NDSolve 比较不同常微分方程积分方法的步骤、评估、时间:
In[1]:=1

✖
https://wolfram.com/xid/0i1inhsc6-2xsju
In[2]:=2

✖
https://wolfram.com/xid/0i1inhsc6-bxrzb6
In[3]:=3

✖
https://wolfram.com/xid/0i1inhsc6-g3c7re

Wolfram Research (2003),StepMonitor,Wolfram 语言函数,https://reference.wolfram.com/language/ref/StepMonitor.html.
✖
Wolfram Research (2003),StepMonitor,Wolfram 语言函数,https://reference.wolfram.com/language/ref/StepMonitor.html.
文本
Wolfram Research (2003),StepMonitor,Wolfram 语言函数,https://reference.wolfram.com/language/ref/StepMonitor.html.
✖
Wolfram Research (2003),StepMonitor,Wolfram 语言函数,https://reference.wolfram.com/language/ref/StepMonitor.html.
CMS
Wolfram 语言. 2003. "StepMonitor." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/StepMonitor.html.
✖
Wolfram 语言. 2003. "StepMonitor." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/StepMonitor.html.
APA
Wolfram 语言. (2003). StepMonitor. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/StepMonitor.html 年
✖
Wolfram 语言. (2003). StepMonitor. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/StepMonitor.html 年
BibTeX
✖
@misc{reference.wolfram_2025_stepmonitor, author="Wolfram Research", title="{StepMonitor}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/StepMonitor.html}", note=[Accessed: 06-April-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_stepmonitor, organization={Wolfram Research}, title={StepMonitor}, year={2003}, url={https://reference.wolfram.com/language/ref/StepMonitor.html}, note=[Accessed: 06-April-2025
]}