|
SOLUTIONS
|
MATHEMATICA 内置符号
$ModuleNumber
$ModuleNumber
给出用于创建局部变量的当前的序列号.
更多信息更多信息
- $ModuleNumber 随每次调用 Module 或 Unique 递增.
- 每一个 Mathematica 进程都以 $ModuleNumber 设为1开始.
- 可以将 $ModuleNumber 重置为一个正机器整数,但是如果这样做,命名冲突可能会导致效率低.
版本 2 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
