EvaluationData

EvaluationData[expr]

gives an association containing the result of evaluating expr and metadata about the process of doing so.

Details

  • Items generated by EvaluationData include:
  • "Result"the result of evaluating expr
    "Success"whether the evaluation is considered successful
    "FailureType"the type of failure, if any
    "InputString"the original input string
    "Messages"a list of names of messages generated while evaluating expr
    "MessagesText"text of messages generated while evaluating expr
    "MessagesExpressions"expression forms of messages
    "Timing"the CPU time in seconds spent evaluating expr
    "AbsoluteTiming"the absolute time in seconds spent evaluating expr
  • EvaluationData has attribute HoldAllComplete.

Examples

open allclose all

Basic Examples  (1)

Gather data for evaluating a simple calculation:

Scope  (1)

Gather data for an evaluation that issues a message:

Wolfram Research (2014), EvaluationData, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationData.html.

Text

Wolfram Research (2014), EvaluationData, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationData.html.

CMS

Wolfram Language. 2014. "EvaluationData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EvaluationData.html.

APA

Wolfram Language. (2014). EvaluationData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EvaluationData.html

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_evaluationdata, organization={Wolfram Research}, title={EvaluationData}, year={2014}, url={https://reference.wolfram.com/language/ref/EvaluationData.html}, note=[Accessed: 22-December-2024 ]}