Ahah! Thanks!
> On Nov 21, 2019, at 3:34 PM, Henry Rich 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
> 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
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
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 follo
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
--