Pepe, This solution seems to be inspired by Raul's automated version, but I cannot be sure because the "usual definition"s are a little new and opaque to me. Clearly it works nicely though.
Thank you, On Mon, Jul 13, 2015 at 6:26 PM, Jose Mario Quintana < [email protected]> wrote: > Actually, I my mind I thought it was from left to right but the exercise is > from right to left. So, > > ce=. &([ train@:, an@:]) NB. It is even easier than I thought! > > 0 0$(19$E`O)ce 100 > -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
