pub fn create_random_index(
size: usize,
null_density: f32,
max_value: usize,
) -> UInt32ArrayExpand description
Creates a random (but fixed-seeded) UInt32Array of indices in 0..max_value.
Intended for use as the indices argument to take kernels. null_density
controls the fraction of null indices.