Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Display values from Distributions

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 2795