Would (#"0~ #)&>/`(1 {:: ])}@:,&< do?
oneOrTother =: (#"0~ #)&>/`(1 {:: ])}@:,&<
0 1 1 oneOrTother i. 2 3 2
0 1
8 9
10 11
-Dan
----- Original Message ---------------
Subject: [Jprogramming] speaking of amend...
From: "'Pascal Jasmin' via Programming" <[email protected]>
Date: Fri, 11 Jul 2014 17:56:49 -0700
To: Programming forum <[email protected]>
what verb v (or I guess adverb is ok) could I use to get
0 1 1 v i. 2 3 2
0 1
8 9
10 11
i.2 3 2
0 1
2 3
4 5
6 7
8 9
10 11
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm