title: access to elements of Tuple in Julia
body: <p>I have three matrix like this :</p>
  
  <pre><code>f_vp= Array{tuple{Float64,Float64}}(n,m)
  f_value1=zeros(n,m)
  f_value2=zeros(n,m)
  </code></pre>
  
  <p>the first element of each tuple in <code>f_vp</code> is for <code>f_value1</code> and the second one is for <code>f_value2</code>. for this reason I have to have two l</p>
  
  <pre><code>for i=1:m 
       for j=1:n 
             f_value1[j,i] = f_vp[j,i][1] 
             f_value2[j,i] = f_vp[j,i][2] 
       end 
  end
  </code></pre>
  
  <p>How can I do this faster? 
  and If I want to have something like this :</p>
  
  <pre><code>maximum(f_value2-f_value1) 
  </code></pre>
  
  <p>can I do that by <code>f_vp</code> instead of <code>f_value1</code> and <code>f_value2</code> ?</p>