FillArrays.jl
FillArrays.jl copied to clipboard
additional constructors for Zeros and Ones
It would be nice to have Zeros(eltype, dims)
and Ones(eltype, dims)
, in analogy to zeros
and ones
functions
What do these do that Zeros{eltype}(dims)
/ Ones{eltype}(dims)
do not?
In principle it's not a good idea to have synonyms in code, as it makes find-and-replace more difficult, for example.