CellEvaluationFunction
Cellのオプションで,通常の評価のためにセルからカーネルに送られるすべての式に適用する関数を与える.
詳細
- CellEvaluationFunctionは,例えば
や「現在位置で評価」によって開始される通常のすべてのカーネル評価に使われる. - Dynamicオブジェクトに関連する評価には使われない.
- StandardFormやTraditionalFormのセルでは,CellEvaluationFunctionは,評価されるべき入力を表しているBoxData式に適用される.
- InputFormのセルでは,評価される入力に対応する文字列に適用される.
- CellEvaluationFunction->f で$PreRead=g の場合,カーネルが処理するオブジェクトは g[f[data]]である.
- デフォルト設定はCellEvaluationFunction->Identityである.
例題
例 (1)
評価されるとCellEvaluationFunctionを使うStandardFormの入力セルを出力する:
関連するガイド
テキスト
Wolfram Research (2007), CellEvaluationFunction, Wolfram言語関数, https://reference.wolfram.com/language/ref/CellEvaluationFunction.html.
CMS
Wolfram Language. 2007. "CellEvaluationFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellEvaluationFunction.html.
APA
Wolfram Language. (2007). CellEvaluationFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellEvaluationFunction.html
BibTeX
@misc{reference.wolfram_2025_cellevaluationfunction, author="Wolfram Research", title="{CellEvaluationFunction}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CellEvaluationFunction.html}", note=[Accessed: 01-May-2026]}
BibLaTeX
@online{reference.wolfram_2025_cellevaluationfunction, organization={Wolfram Research}, title={CellEvaluationFunction}, year={2007}, url={https://reference.wolfram.com/language/ref/CellEvaluationFunction.html}, note=[Accessed: 01-May-2026]}