In Julia 0.6, is there a way to calculate elements from a Poisson distribution taken from a predefined array? For example,
julia> rand([1,2,3])
computes a random element from [1,2,3]. Does exist something like:
[1,2,3]
julia> poisson([1,2,3])
Aucun commentaire:
Enregistrer un commentaire