And of course calculating minimums are simpler:
3 _1 (0&<.@[ , 2&{.@] >. [ + _2&{.@]) 3 4 5 6 0 _1 8 5 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
And of course calculating minimums are simpler:
3 _1 (0&<.@[ , 2&{.@] >. [ + _2&{.@]) 3 4 5 6 0 _1 8 5 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm