One option:
julia> x=[0.1; 0.6; 0.5]; v=[3; 1; 2];
julia> vcat(fill.(x, v)...)
6-element Array{Float64,1}:
0.1
0.1
0.1
0.6
0.5
0.5
One option:
julia> x=[0.1; 0.6; 0.5]; v=[3; 1; 2];
julia> vcat(fill.(x, v)...)
6-element Array{Float64,1}:
0.1
0.1
0.1
0.6
0.5
0.5