[julia-users] norm() is slow when variables are arguments

2016-09-27 Thread Zhilong Liu
2 is much slower than case 1. Is there a way to improve this? Ideally, I would expect them to have the same speed. Zhilong Liu

[julia-users] Return structure-like elements from a function

2016-09-27 Thread Zhilong Liu
: `convert` has no method matching convert(::Type{Array{DataType,1}}, ::Array{Float64,2}) Do anyone know how to do this properly? Thanks! Zhilong Liu

[julia-users] Strange behavior of push! and pop! for an array of array elements

2016-09-12 Thread Zhilong Liu
] Any[1] Any[1] Any[1] Any[1] ⋮ Any[1] Any[1] Any[1] Any[1] Any[1] Any[1] Any[1] Any[1] Any[1] Thanks! Zhilong Liu