-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
There should be a hard, copying, reshape that copies to avoid double wrappers. See #4.
Basically:
julia> reshape(transpose(rand(2,3)), :) |> typeof
Base.ReshapedArray{Float64, 1, LinearAlgebra.Transpose{Float64, Matrix{Float64}}, Tuple{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}}}
julia> reshape(copy(transpose(rand(2,3))), :) |> typeof
Vector{Float64} (alias for Array{Float64, 1})
It should be used on arrays going in as well, in case they're already wrapped, such that we don't end up with a quadruple wrapper.
Metadata
Metadata
Assignees
Labels
No labels