rgpycrumbs.func.muller_brown¶
Functions¶
|
Evaluate the Muller-Brown potential at position x. |
Compute the analytical gradient of the Muller-Brown potential at x. |
Module Contents¶
- rgpycrumbs.func.muller_brown.muller_brown(x)[source]¶
Evaluate the Muller-Brown potential at position x.
The Muller-Brown surface is a standard 2D test potential with three minima and two saddle points, commonly used for benchmarking path-finding and optimization algorithms.
- Args:
- x: Position as a 2-element sequence
[x, y]. Each element may be a scalar or an array (for vectorized evaluation over a meshgrid).
- x: Position as a 2-element sequence
- Returns:
Potential energy value(s) at the given position(s).
Added in version 0.0.1.