So, in my recently installed J 9.01 (Engine: j901/j64avx2/windows), I get this surprising result in the final case (indentation added manually since this does not work for my session under emacs): mat=. <:+:10 10?@$0 +/,mat+/ . * %.mat 10 mat=. <:+:100 100?@$0 +/,mat+/ . * %.mat 100 mat=. <:+:1000 1000?@$0 +/,mat+/ . * %.mat 21278.6
The last sum should be 1000. -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm