title: Is it possible to vectorize recursive calculation of a NumPy array where each element depends on the previous one?
body: <pre><code>T(i) = Tm(i) + (T(i-1)-Tm(i))**(-tau(i))
  </code></pre>
  
  <p><code>Tm</code> and <code>tau</code> are NumPy vectors of the same length that have been previously calculated, and the desire is to create a new vector <code>T</code>. The <code>i</code> is included only to indicate the element index for what is desired.</p>
  
  <p>Is a for loop necessary for this case?</p>