pub fn linear(len: usize) -> Pdf
A linear PDF
assert!( linear(256) .get_distribution() .windows(2) .all(|v| v[0] - v[1] == 1. / 256. / 128.) );