If you post the function with the FOR_MATRIX loop it'd be helpful for figuring out exactly what you mean.
----- Original Message ----- From: Robert O'Boyle <[EMAIL PROTECTED]> Date: Saturday, April 26, 2008 14:26 Subject: [Jprogramming] Calculations on matrices To: [email protected] > I have to apply a set of equations to each row of a matrix. For > instance,the first row is y of the verb while the second row is > x. The results of the > verb are then used with the third row and so on through the > matrix. At the > same time, the verb is accessing another matrix which the same > dimension as > the first one, with each row of it being used by the verb as the > calculations move through the matrix. I have tried using v / > which is great > but I can't see how the verb will access the rows of the second > matrix. I am > currently using the FOR_MATRIX .. DO.END structure which works > fine but I > wonder if there is a more efficient way in J to undertake recursive > calculations through rows of a matrix in this manner. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
