gfunction

probnum.problems.zoo.quad.gfunction(dim)[source]

‘G-function’ test function on \([0,1]^d\).

\[f(x) = \prod_{i=1}^d \frac{|4 x_i - 2 |+a_i}{1+a_i}\]

where \(a_i = \frac{i-2}{2}\) for all \(i = 1, \dotsc, d\). See [1], [2].

Parameters:

dim (int) – Dimension of the domain

Return type:

QuadratureProblem

References