NormFunction
Details
- NormFunction->f specifies that f[data] should be minimized in generating results.
Examples
open all close allBasic Examples (2)
Find a "best" fit for data using different norms:
The default is to find the best least-squares fit:
Use the -norm instead:
Use the 1-norm:
Use a 2-norm for estimating local error in solving an ODE:
Use an -norm:
The error measure makes a difference in the solution quality:
Scope (1)
The norm is used for space and time in PDE solutions:
Plot the actual solution error, when using different error estimation norms:
A plot of the best solution:
See Also
History
Introduced in 2003 (5.0)
Text
Wolfram Research (2003), NormFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/NormFunction.html.
CMS
Wolfram Language. 2003. "NormFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NormFunction.html.
APA
Wolfram Language. (2003). NormFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NormFunction.html
BibTeX
@misc{reference.wolfram_2025_normfunction, author="Wolfram Research", title="{NormFunction}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/NormFunction.html}", note=[Accessed: 23-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_normfunction, organization={Wolfram Research}, title={NormFunction}, year={2003}, url={https://reference.wolfram.com/language/ref/NormFunction.html}, note=[Accessed: 23-November-2025]}