I’m trying to assign values of Beta(a,b)
function in Distributions package to x
but the value is not printing in console.
using Distributions
x = Beta(1,2)
Gives me
julia> x
Beta{Float64}(α=1.0, β=2.0)
How can I assign the value to x
and print it on console?
6 posts - 3 participants