ArrayFire.jl
ArrayFire.jl copied to clipboard
Indexing matrix returns 2D row on Julia v0.5
a = rand(10,10)
a[1,:] # Returns row in Julia v0.4 and a vector on Julia v0.5
Currently, ArrayFire returns a 2D row just like in Julia v0.4, but unlike v0.5.
a = AFArray(rand(Float32, 10, 10))
a[1,:] # Returns a 2D row
Should mirror the Julia 0.5 behaviour and if possible without creating a copy for the transpose.
Transposes of rows and columns in arrayfire are usually shallow copies.