Gradient

Gradient

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

Details

  • 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.

Examples

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:

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

Text

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

CMS

Wolfram Language. 1993. "Gradient." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Gradient.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_gradient, author="Wolfram Research", title="{Gradient}", year="1993", howpublished="\url{https://reference.wolfram.com/language/ref/Gradient.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_gradient, organization={Wolfram Research}, title={Gradient}, year={1993}, url={https://reference.wolfram.com/language/ref/Gradient.html}, note=[Accessed: 21-November-2024 ]}