initializes the argument with the probability distribution given and returns it for arrays this might potentially be faster than a naive loop
See Implementation
initializes the argument with the probability distribution given and returns it for arrays this might potentially be faster than a naive loop