EvaluationEnvironment

EvaluationEnvironment

是函数,例如 InitializationValueInitializationObjects 的一个选项,用于指定初始化时要使用的环境.

更多信息

  • EvaluationEnvironment 的一般值包括:
  • "Session"本地或云端交互会话
    "Script"在批模式下运行的脚本
    "Subkernel"并行或网格子内核
    "WebEvaluation"由 HTTP 请求启动的云计算
    "WebAPI"通过一个 HTTP 请求调用的 API
    "Scheduled"已安排的任务
  • 默认设置是 EvaluationEnvironment:>$EvaluationEnvironment

范例

基本范例  (1)

设置并行子内核的初始值:

所有新启动的并行子内核使用给定的值:

Wolfram Research (2017),EvaluationEnvironment,Wolfram 语言函数,https://reference.wolfram.com/language/ref/EvaluationEnvironment.html.

文本

Wolfram Research (2017),EvaluationEnvironment,Wolfram 语言函数,https://reference.wolfram.com/language/ref/EvaluationEnvironment.html.

CMS

Wolfram 语言. 2017. "EvaluationEnvironment." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/EvaluationEnvironment.html.

APA

Wolfram 语言. (2017). EvaluationEnvironment. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/EvaluationEnvironment.html 年

BibTeX

@misc{reference.wolfram_2024_evaluationenvironment, author="Wolfram Research", title="{EvaluationEnvironment}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/EvaluationEnvironment.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_evaluationenvironment, organization={Wolfram Research}, title={EvaluationEnvironment}, year={2017}, url={https://reference.wolfram.com/language/ref/EvaluationEnvironment.html}, note=[Accessed: 22-November-2024 ]}