vector
9 mins read
Is vector pooling considered harmful? – Beragampengetahuan
By: Blog by Bogumił Kamiński Re-posted from: PooledArrays.jl is a package providing a custom array type that can be used for compression of your data if it has a few unique elements.In this post I want to explain the design of PooledArray object and discuss how it affects its performance. The post was written under […]
1 min read
Learning to create a vector in Julia – Beragampengetahuan
julia> a3d[1, 1, 1] = (100, 100, 100); julia> a3d 2×3×4 Array{Tuple{Int64, Int64, Int64}, 3}: [:, :, 1] = (100, 100, 100) (1, 2, 1) (1, 3, 1) (2, 1, 1) (2, 2, 1) (2, 3, 1) [:, :, 2] = (1, 1, 2) (1, 2, 2) (1, 3, 2) (2, 1, 2) (2, 2, […]