WOLFRAM

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

Method

is an option for various algorithm-intensive functions that specifies what internal methods they should use.

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

Method

is an option for various algorithm-intensive functions that specifies what internal methods they should use.

Details

  • Typical settings include:
  • Automatic pick the method automatically
    "name" use the method with the specified name
    {"name",opt1->val1,} use the specified method with particular options
    {"name1",Method->{"name2",}} use a method and a submethod
    {opt1->val1,opt2->val2,} give options for methods
  • With the default setting Method->Automatic , the Wolfram Language will automatically try to pick the best method for a particular computation.

Examples

open all close all

Basic Examples  (2)

Find a nonlinear fit for exponential decay using a quasi-Newton method:

Solve a differential equation using an explicit RungeKutta method:

Plot the solution and its derivative:

Scope  (4)

Find a root in two dimensions using Newton's method with a trust-region step control:

This takes fewer evaluations than the default step control for this problem:

Number of steps and evaluations for an ODE using RungeKutta methods of various order:

Use of event location method using a backward differentiation formula base method:

Plot the solution up to the event :

Use of event locator with a deeply nested Method option:

History

Introduced in 1999 (4.0) | Updated in 2007 (6.0)

Wolfram Research (1999), Method, Wolfram Language function, https://reference.wolfram.com/language/ref/Method.html (updated 2007).

Text

Wolfram Research (1999), Method, Wolfram Language function, https://reference.wolfram.com/language/ref/Method.html (updated 2007).

CMS

Wolfram Language. 1999. "Method." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/Method.html.

APA

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

BibTeX

@misc{reference.wolfram_2025_method, author="Wolfram Research", title="{Method}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Method.html}", note=[Accessed: 05-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_method, organization={Wolfram Research}, title={Method}, year={2007}, url={https://reference.wolfram.com/language/ref/Method.html}, note=[Accessed: 05-December-2025]}

Top [フレーム]

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