DiffInputFunction
is an option for Diff and related functions that specifies how the input expressions should be preprocessed.
Details
- Diff[a,b,DiffInputFunctionfunc] is equivalent to Diff[func[a],func[b].
- The default setting DiffInputFunctionIdentity will attempt to diff the original expressions.
- In addition to any arbitrary function, DiffInputFunction can take the following special settings:
-
"InputForm" equivalent to ToString[#,InputForm]& "StandardForm" equivalent to ExpressionCell[#]& "TraditionalForm" equivalent to ExpressionCell[TraditionalForm[#]]&
Examples
open allclose allBasic Examples (4)
Compare the input form strings of two arbitrary expressions:
Compare the StandardForm rendering of two expressions:
Properties & Relations (1)
Compare strings returned by GenomeData:
Wolfram Research (2024), DiffInputFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DiffInputFunction.html.
Text
Wolfram Research (2024), DiffInputFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DiffInputFunction.html.
CMS
Wolfram Language. 2024. "DiffInputFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DiffInputFunction.html.
APA
Wolfram Language. (2024). DiffInputFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DiffInputFunction.html