Defines a data generator that produce values between two bounds. More...
Defines a data generator that produce values between two bounds.
This generator produces values linearly spaced between two bounds (inclusive). For a size N, the produced values are: first, first+step, first+2*step, ..., last, where step = (last-first)/(N-1).
When generated values exceed the last bound due to rounding, the last bound is returned instead.
| T | Type of the first bound |
| U | Type of the last bound |