さまざまな数値関数およびプロット関数のオプションとして使われ,使用する式を自動的にコンパイルすべきかどうかを指定する.
Compiled
さまざまな数値関数およびプロット関数のオプションとして使われ,使用する式を自動的にコンパイルすべきかどうかを指定する.
例題
例 (1)
めったにないことだが,機械数でのコンパイルが予期せぬ結果を生むことがある:
FindRoot[If[1 / (1 + Exp[x]) == 0, 0, -1] + x / 900, {x, 0, 1000}]デフォルトで,この関数はFindRootによってコンパイルされるので,マシンのオーバーフローやアンダーフローはキャチされない:
cf = Compile[{{x, _Real}}, If[1 / (1 + Exp[x]) == 0, 0, -1] + x / 900];Plot[cf[x], {x, 0, 1000}]FindRoot[If[1 / (1 + Exp[x]) == 0, 0, -1] + x / 900, {x, 0, 1000}, Compiled -> False]Plot[If[1 / (1 + Exp[x]) == 0, 0, -1] + x / 900, {x, 0, 1000}]履歴
1991 で導入 (2.0)
テキスト
Wolfram Research (1991), Compiled, Wolfram言語関数, https://reference.wolfram.com/language/ref/Compiled.html.
CMS
Wolfram Language. 1991. "Compiled." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Compiled.html.
APA
Wolfram Language. (1991). Compiled. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Compiled.html
BibTeX
@misc{reference.wolfram_2026_compiled, author="Wolfram Research", title="{Compiled}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/Compiled.html}", note=[Accessed: 04-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_compiled, organization={Wolfram Research}, title={Compiled}, year={1991}, url={https://reference.wolfram.com/language/ref/Compiled.html}, note=[Accessed: 04-September-2026]}