Sumpow

../../_images/Sumpow.png
class gob.benchmarks.sumpow.Sumpow

Bases: Benchmark

The Sum of different power function.

\(f(x) = \sum_{i=1}^d |x_i|^{i+1}\)

Its minimum is \(0\) achieved at \(x = 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