genz_continuous

probnum.problems.zoo.quad.genz_continuous(dim, a=None, u=None)[source]

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

\[f(x) = \exp(- \sum_{i=1}^d a_i |x_i - u_i|).\]
Parameters:
  • dim (int) – Dimension of the domain

  • a (ndarray | None) – First set of parameters of shape (dim,) affecting the difficulty of the integration problem. See [1].

  • u (ndarray | None) – Second set of parameters of shape (dim,) affecting the difficulty of the integration problem. All entries should be in [0,1]. See [1].

Returns:

The QuadratureProblem corresponding to the Genz ‘continuous’ test function with the given parameters.

Return type:

problem

Raises:

ValueError – If any of the parameters have invalid shapes or values.

References