Is it possible to vectorize recursive calculation of a NumPy array where each element depends on the previous one?

T(i) = Tm(i) + (T(i-1)-Tm(i))**(-tau(i)) Tm and tau are NumPy vectors of the same length that have been previously calculated, and the desire is to create a new vector T. The i is included only to indicate the element index for what is desired. Is a for loop necessary for this case? Answers: Thank you … Read more