
Array from forloop iterations
Posted:
Mar 2, 2011 4:34 AM


Dear Mathworld Community,
I am tackling a simple problem,
I have written a simple forloop using elements from an array of 3dimensional vectors:
f0=0.5; For[k = 1, k < 9, k++,
(vec[[k, 3]]  f0)^2 + (vec[[k, 1]]  f0) (vec[[k, 2]]  vec[[k, 1]])  vec[[k, 2]]  f0) (vec[[k, 3]]  f0) ]
I don't know how to make an array out of the computed results.
Please help my silly soul.
Thank you.
Tamás

