6#ifndef CHEYBYSHEV_GENERATOR_H
7#define CHEYBYSHEV_GENERATOR_H
29 return rnd.uniform(a, b);
41 long long int length = a < b ? (b - a) : (a - b);
44 return a + (rnd.natural() % uint64_t(length));
Common definitions for the framework.
double real_t
Floating-point type, used as default for function arguments.
Definition common.h:37
Input generators for benchmarks.
auto discrete1D(long int a, long int b)
Discrete uniform generator over a domain.
Definition generator.h:39
auto uniform1D(real_t a, real_t b)
Uniform generator over a domain.
Definition generator.h:26
General namespace of the framework.
Definition benchmark.h:22
The pseudorandom number generation and sampling module.
A source of pseudorandom numbers.
Definition random.h:39