Hyper-Ellipsoid

../../_images/Hyperellipsoid.png
class gob.benchmarks.hyperellipsoid.Hyperellipsoid

Bases: Benchmark

The Rotated Hyper-Ellipsoid function.

\(f(x) = \sum_{i=1}^d \sum_{j=1}^i x_j^2\)

Its minimum is \(0\) achieved at \(x_i = 0\).

expr(x)

The expression of the function.

Parameters:

x (array-like) – The point at which to evaluate the function.

Returns:

The value of the function at x.

Return type:

float