Forums > Jitter

calculate sum of rows

February 9, 2010 | 3:47 am

I need to calculate the sum of each row of a matrix 3×6000 and output them in a list of 6000 values or store them in a 4th row. I am pretty sure it’s easy to do with some javascript or with jit.exrp but I have no knowledge in javascript and jit.expr in not understandable with the help patch…

Please help, It looks so easy!


February 9, 2010 | 4:11 am

and I already did it with a combination of getcell, uzi, zl group, zl sum but it is too slow for that number of rows…


February 9, 2010 | 5:24 am

Just adjust for your proper dimensions…

– Pasted Max Patch, click to expand. –

`


February 9, 2010 | 2:20 pm

merci beaucoup!


Viewing 4 posts - 1 through 4 (of 4 total)