03:51
To: [email protected]
Subject: Re: [Jprogramming] from vs fetch
NB. x {:: y
((0 ; 1) , (1 ; 1) ,: (2 ; 1)) {:: y
2 4 6
NB. io foo y
1 (((,. <)~ <"0@i.@#) {:: ]) y
2 4 6
Inspired by the last section "To select subarray" in "Common uses" of
htt
com
Subject: Re: [Jprogramming] from vs fetch
Best I've got is
(0;1) {::"1 0 y
2 4 6
I would use
1 {&> y
Henry Rich
On 7/19/2020 5:18 AM, R.E. Boss wrote:
> In NUVOC https://code.jsoftware.com/wiki/Vocabulary/curlylf#dyadic I read :
> "A selector of a: design
NB. x {:: y
((0 ; 1) , (1 ; 1) ,: (2 ; 1)) {:: y
2 4 6
NB. io foo y
1 (((,. <)~ <"0@i.@#) {:: ]) y
2 4 6
Inspired by the last section "To select subarray" in "Common uses" of
https://code.jsoftware.com/wiki/Vocabulary/curlylfcoco#dyadic
--
Regards
Igor
On Sun, Jul 19, 2020 at 7:18
Best I've got is
(0;1) {::"1 0 y
2 4 6
I would use
1 {&> y
Henry Rich
On 7/19/2020 5:18 AM, R.E. Boss wrote:
In NUVOC https://code.jsoftware.com/wiki/Vocabulary/curlylf#dyadic I read : "A
selector of a: designates an omitted axis which is taken in full."
How is this done in
https://c
In NUVOC https://code.jsoftware.com/wiki/Vocabulary/curlylf#dyadic I read : "A
selector of a: designates an omitted axis which is taken in full."
How is this done in
https://code.jsoftware.com/wiki/Vocabulary/curlylfcoco#dyadic ?
MWE.
With from:
]y =. 1 2,3 4,:5 6 7
1 2 0
3 4 0
5 6 7
(<