CompilerEnvironment
FunctionCompileおよび関連関数のオプションで,コンパイルに定義を含むことを可能にする.
詳細
- 典型的なデフォルト設定のCompilerEnvironmentAutomaticにおける定義は,Wolfram Compilerにバンドルされているものである.
- 有効な設定はCreateCompilerEnvironmentで作られたCreateCompilerEnvironmentである.
例題
例 (1)
env = CreateCompilerEnvironment[];
CompilerEnvironmentAppendTo[env, {FunctionDeclaration[AddTwo, Typed[{"Integer64"} -> "Integer64"]@Function[arg, 2 + arg]]}];cf = FunctionCompile[Function[{Typed[arg, "Integer64"]}, AddTwo[arg]], CompilerEnvironment -> env]cf[10]テクニカルノート
関連するガイド
テキスト
Wolfram Research (2021), CompilerEnvironment, Wolfram言語関数, https://reference.wolfram.com/language/ref/CompilerEnvironment.html.
CMS
Wolfram Language. 2021. "CompilerEnvironment." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CompilerEnvironment.html.
APA
Wolfram Language. (2021). CompilerEnvironment. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CompilerEnvironment.html
BibTeX
@misc{reference.wolfram_2026_compilerenvironment, author="Wolfram Research", title="{CompilerEnvironment}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CompilerEnvironment.html}", note=[Accessed: 14-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_compilerenvironment, organization={Wolfram Research}, title={CompilerEnvironment}, year={2021}, url={https://reference.wolfram.com/language/ref/CompilerEnvironment.html}, note=[Accessed: 14-August-2026]}