I have a question about this behaviour of getindex in Julia: if I say
julia> a=1.0 1.0 then julia> a[1] 1.0 julia> a[end] 1.0 but julia> a[:] ERROR: MethodError: `getindex` has no method matching getindex(::Float64, ::Colon) Closest candidates are: getindex(::Number) getindex(::Number, ::Integer) getindex(::Number, ::Integer...) ... Why the last one does not work?
