Click or drag to resize

TestFunctionsRosenbrock(Double, Double) Method

Valley-shaped Rosenbrock function for 2 dimensions: (x,y) -> (1-x)^2 + 100*(y-x^2)^2. This function has a global minimum at (1,1) with f(1,1) = 0. Common range: [-5,10] or [-2.048,2.048].

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double Rosenbrock(
	double x,
	double y
)

Parameters

x  Double
The first coordinate.
y  Double
The second coordinate.

Return Value

Double
The Rosenbrock function value.
Remarks
https://en.wikipedia.org/wiki/Rosenbrock_function http://www.sfu.ca/~ssurjano/rosen.html
See Also