calculate sum of rows

Feb 9, 2010 at 3:47am

calculate sum of rows

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!

Feb 9, 2010 at 4:11am

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…

Feb 9, 2010 at 5:24am

Just adjust for your proper dimensions…

– Pasted Max Patch, click to expand. –


Feb 9, 2010 at 2:20pm

merci beaucoup!


You must be logged in to reply to this topic.