title: Julia - get real part of complex array
body: <p>I need to split the variable <code>z::Array{Complex128,1}</code> into two arrays for the real and complex parts.  One way do this is to make new variables <code>::Array{Float64,1}</code> and fill them element by element:</p>
  
  <pre><code>for i = 1:size(z)[1]
      ri[i] = z[i].re
      ii[i] = z[i].im
  end
  </code></pre>
  
  <p>Is there a way to do this that doesn't involve copying data, like somehow manipulating strides and offsets of <code>z</code>?</p>