LebesgueMeasure¶
- class probnum.quad.integration_measures.LebesgueMeasure(domain, input_dim=None, normalized=False)¶
Bases:
IntegrationMeasureLebesgue measure on a hyper-rectangle.
- Parameters:
domain (DomainLike) – Domain of integration. Contains lower and upper bound as a scalar or
np.ndarray.input_dim (Optional[IntLike]) – Dimension of the integration domain. If not given, inferred from
domain.normalized (bool) – Boolean which controls whether the measure is normalized (i.e., integral over the domain is one). Defaults to
False.
Methods Summary
__call__(points)Evaluate the density function of the integration measure.
sample(n_sample, rng)Sample
n_samplepoints from the integration measure.Methods Documentation