{'fraction_non_alphanumeric': 0.01129032258064516, 'fraction_numerical': 0.0, 'mean_word_length': 5.088235294117647, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Numerical Integration of Peak Functions

We study the logarithmic error of numerical methods for the integration of monotone or unimodal positive functions. We compare adaptive and nonadaptive methods in the worst case setting. It turns out that adaption significantly helps for the class of unimodal functions, but it does not help for the class of monotone functions. We do not assume any smoothness properties of the integrands and obtain numerical methods that are reliable even for discontinuous integrands. Numerical examples show that our method is very competitive in the case of nonsmooth and/or peak functions.