genz_discontinuous

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

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

\[\begin{split}f(x) = \begin{cases} 0 & \text{if any } x_i > u_i \\ \exp(\sum_{i=1}^d a_i x_i) & \text{otherwise} \end{cases}\end{split}\]
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].

Return type:

QuadratureProblem

References