You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The manual gives examples of reshaping ranges (e.g. in the "Indexing" subsection of the "Arrays" section: http://julialang.org/manual/arrays/#Indexing), but reshape seems to be not (yet?) implemented for ranges:
julia> reshape(1:16, 4, 4)
no method similar(Range1{Int64},(Int64,Int64),(Int64,))
in method_missing, /opt/julia/j/base.j:58
in reshape, /opt/julia/j/abstractarray.j:59
in reshape, /opt/julia/j/abstractarray.j:65
julia>
The text was updated successfully, but these errors were encountered:
The manual gives examples of reshaping ranges (e.g. in the "Indexing" subsection of the "Arrays" section: http://julialang.org/manual/arrays/#Indexing), but
reshape
seems to be not (yet?) implemented for ranges:The text was updated successfully, but these errors were encountered: