Numerical gradient by numerical differentiation using the forward difference quotient.
Parameters |
Description |
Fun |
Real function of several variables. |
Pars |
Function variables. |
Consts |
Array of additional constants which can be used in math formula. |
ObjConst |
Array of additional constants (pointers) which can be used in math formula. |
Grad |
Returns calculated gradient. If needed, Grad Length and Complex properties are adjusted automatically. |
Calculates the numerical gradient by numerical differentiation using the forward difference quotient. The NumericGradDifference procedure can be used with a very moderate ( >= 1.0e-4) precision requirement.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|