1 #ifndef jb_testing_create_random_timeseries_hpp 2 #define jb_testing_create_random_timeseries_hpp 12 template <
typename timeseries,
typename generator>
14 typedef typename timeseries::value_type value_type;
17 for (
int i = 0; i !=
nsamples; ++i) {
25 #endif // jb_testing_create_random_timeseries_hpp
void create_random_timeseries(generator &gen, int nsamples, timeseries &ts)
Create a simple timeseries where the values look like a random.
Wrap a random number generator so it can be used for both real and complex numbers.
std::size_t nsamples(container_type const &a)
Count the elements in the last dimension of a vector-like container.
The top-level namespace for the JayBeams library.