Method
Usage Message: Method is an option to Solve, related functions, and various numerical functions, which specifies
what algorithm to use in evaluating the result. Attributes[Method] = {Protected} Related
Symbols: AlgebraicRules
, Automatic
, Eliminate
, FindMinimum
, HermiteNormalForm
, Inverse
, LinearSolve
, MainSolve
, NDSolve
, NIntegrate
, NProduct
, NSum
, NullSpace
, Reduce
, RowReduce
, Solve
, SolveAlways
Notes: The Method option is used by AlgebraicRules
, Automatic
, Eliminate
, FindMinimum
, HermiteNormalForm
, Inverse
, LinearSolve
, MainSolve
, NDSolve
, NIntegrate
, NProduct
, NSum
, NullSpace
, Reduce
, RowReduce
, Solve
, and SolveAlways
. See the notes for each function for information on the allowed values of the Method option for that function.
The Method option is typically used to select the algorithm that will be used to perform a calculation. Algorhtms
selected using the Method option usually produce identical or equivalent results, but the speed, memory requirements,
and other aspects of the calculation may be different for different algorithms. In most cases, one possible value for the Method option is Method -> Automatic
, which causes the algorithm to be selected using internal heuristics. When Method -> Automatic
is available, it is usually the default. Since the heuristics that are used to select an algorithm often involve non-trivial calculations, you can
occasionally save time by selecting a value for the Method option yourself, rather than relying on Method -> Automatic
to select an algorithm for you. The simplest and most reliable way to choose a value for the Method option is to try all of the available values and to use the one that works the best in your examples. If you have knowledge of the available algorithms, you can sometimes use that expertise to choose an optimal value for the Method option.
Questions or comments? Send email to support@wolfram.com.
| |