genz_oscillatory¶
- probnum.problems.zoo.quad.genz_oscillatory(dim, a=None, u=None)[source]¶
Genz ‘oscillatory’ test function on \([0,1]^d\).
\[f(x) = \cos( 2 \pi u_1 + \sum_{i=1}^d a_i x_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].
- Return type:
References