Ahah! Thanks!

> On Nov 21, 2019, at 3:34 PM, Henry Rich <henryhr...@gmail.com> wrote:
> 
> > on unboxed is like ]"0, but when you use &.> then you have the inverse of 
> > which is <, not like ]"0 at all. In your test you should have written (]"0) 
> instead of ]"0 .
> 
> I meant dyadic ];.0 as in
> 
>    (,.1 4) ];.0 'abcdefgh'
> bcde
> 
> as an alternative to (1+i. 4) { 'abcdefgh'
> 
> Henry Rich
> 
>> On 11/21/2019 3:29 PM, 'Jim Russell' via Programming wrote:
>> Nice. But trying to understand, (thanks to dissect):
>>      dissect '10 20 30 (+ i.)&.> 3 2 4'
>> cannot be replaced by
>>      dissect '10 20 30 (+ i.)&. ]"0 (3 2 4)'  .
>> And (again thanks to dissect) , did everyone else understand what dissect 
>> '];.0(3 2 4)'
>> did?
>> (I still have no clue what that has to do with “selectors for an array”, but 
>> I’m learning anyway!)
>> 
>> 
>>>> On Nov 20, 2019, at 7:38 PM, Henry Rich <henryhr...@gmail.com> wrote:
>>> 
>>> Use (+ i.)&.>
>>> 
>>>> on unboxed values is like ]"0
>>> If you are trying to create selectors for an array use ];.0
>>> 
>>> Henry Rich
>>> 
>>> On 11/20/2019 7:35 PM, Jimmy Gauvin wrote:
>>>> Hi,
>>>> 
>>>> I have intervals of varying length and I want to add a different constant
>>>> to each of them.
>>>> 
>>>> Is there a better way than the following to achieve this :
>>>> 
>>>>    (<"0 , 10 20 30) +&.> <@i."0 (3 2 4)
>>>> ┌────────┬─────┬───────────┐
>>>> │10 11 12│20 21│30 31 32 33│
>>>> └────────┴─────┴───────────┘
>>>> 
>>>> 
>>>> Thanks
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to