Returns a sample element array of a specified size
.
This function takes an array and a number, and returns an array containing the sampled elements using Floyd's algorithm.
The array to sample from.
The size of sample.
A new array with sample size applied.
Alias