Am 08.08.2020 12:13 schrieb Raul Miller:
In addition to the other approaches, there's

   X=: 1 2 3
   Y=: 4 5 6
   R=: 3 2 2 $ 1 0 0 4 2 0 0 5 3 0 0 6
   R-: Y (<1 1)}"_1 X (<0 0)}"_1 (3 2 2 $0)
1

Thanks,

--
Raul

Hello,

thank all of you for your quick replies. I'll study all approaches in detail to make sure I fully understand them. Until then, I'm happy to say that they work fine for me.

Regards,

Thomas

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to