WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

NormFunction

is an option for functions such as FindFit and NDSolve which gives a function to be minimized in generating results.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
See Also
History
Cite this Page

NormFunction

is an option for functions such as FindFit and NDSolve which gives a function to be minimized in generating results.

Details

  • NormFunction->f specifies that f[data] should be minimized in generating results.

Examples

open all close all

Basic 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:

History

Introduced in 2003 (5.0)

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

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]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /