If what you want is to raise each individual element to that power, (e.g. to result in Int64[1,4,9,16]) then what you want is the .^ operator:
julia> [1,2,3,4]
4-element Array{Int64,1}:
1
2
3
4
julia> [1,2,3,4].^2
4-element Array{Int64,1}:
1
4
9
16
In general, element-by-element operators are prefixed by "." so as to disambiguate them from the more general linear algebraic operators that expect to treat arrays as mathematical objects in their own right, rather than collections of mathematical objects.
-E