pub fn rand_array<A, R>(rand: &mut R, size: usize, null_ratio: f64) -> Awhere A: Array, R: Rng, A::OwnedItem: RandValue,