is an option for FindMinimum and related functions that specifies the gradient vector to assume for the function being extremized.


  • Gradient->{fx,fy,} specifies explicit components to assume for the gradient vector.
  • Gradient->Automatic specifies that the gradient vector should be deduced by exact or approximate differentiation of the function.
  • Gradient:>expr evaluates expr only with the specific numerical values of variables that are needed.


Basic Examples  (1)

Specify a numeric black-box function:

Specify a symbolic gradient to use:

Specify that second-order finite differences be used:

Give a monitor for evaluation of the gradient:

Introduced in 1993