Works like this (on 0.3.0-rc3):
*julia> **methods(rand)*
*# 31 methods for generic function "rand":*
*rand(::Type{Float64}) at random.jl:88*
*rand() at random.jl:89*
*rand(::Type{Float32}) at random.jl:91*
*rand(::Type{Float16}) at random.jl:92*
*rand{T<:Real}(::Type{Complex{T<:Real}}) at ra
On Sunday, August 10, 2014 7:14:08 PM UTC-4, Jeff Waller wrote:
>
> Is there a reason for this just kind of got overlooked because the usage
> is rare?
>
I think it just got overlooked. Because ultimately it gets converted to an
(Int...) tuple, it is easy to be lazy and just require that the
On Monday, August 11, 2014 9:04:23 AM UTC-4, Clemens Heitzinger wrote:
>
> Works like this (on 0.3.0-rc3):
Clemens, I think Jeff wanted to generate a random Float64 array from an
int32 size, not an array of random Int32 values.
I added a pull request (https://github.com/JuliaLang/julia/pull/795
On Monday, August 11, 2014 1:34:05 PM UTC-4, Steven G. Johnson wrote:
>
> On Monday, August 11, 2014 9:04:23 AM UTC-4, Clemens Heitzinger wrote:
>>
>> Works like this (on 0.3.0-rc3):
>
>
> Clemens, I think Jeff wanted to generate a random Float64 array from an
> int32 size, not an array of rando