i.&1@< is not useful.  Probably you mean i.&1@:<

Henry Rich

On 5/5/2019 3:41 PM, Thomas Bulka wrote:
Am 05.05.2019 20:52 schrieb Roger Hui:
When applied dyadically, the verb finds the index of the first place where
x is less than y

The verb is not very meaningful when applied monadically.

Hello Roger,

thank you very much for your quick reply. I think I got it now. But, just a follow-up question, to consolidate my understanding: cl is defined with @ and is thus subsequently applied to all members of y:

cl =: i.&1@<

3 cl i.7 --> 1 1 1 1 0 0 0

That means, cl is semantically equivalent to 3 (<:~) i.7 - or is there any difference?

Thanks again and best regards,

Thomas

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


---
This email has been checked for viruses by AVG.
https://www.avg.com

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

Reply via email to