[Jprogramming] Questions on Advent of code Day 5
Henry Rich
henryhrich at gmail.com
Tue Dec 6 22:34:24 UTC 2022
The initial value (x) and all subsequent results of v go into the right
argument of v.
All I'm saying is that the picture is right.
Henry Rich
On 12/6/2022 5:32 PM, Brian Schott wrote:
> So, is the picture signalling that v's left argument is y, and v's right
> argument is x?
> If so, that's what makes no sense, to me.
>
> Or are you saying I've got v and u backwards, like I claimed Raul does?
>
> On Tue, Dec 6, 2022 at 5:26 PM Henry Rich <henryhrich at gmail.com> wrote:
>
>> The picture is up to date.
>>
>> Henry Rich
>>
>> On 12/6/2022 5:24 PM, Brian Schott wrote:
>>> Don't you mean v instead of u.
>>> And even so, that may be the backward stuff that was discussed for a
>> while
>>> in the early Fold stages?
>>>
>>> On Tue, Dec 6, 2022 at 5:21 PM Raul Miller <rauldmiller at gmail.com>
>> wrote:
>>>> You should probably spend a few minutes studying the diagram at
>>>>
>>>>
>> https://code.jsoftware.com/wiki/Vocabulary/fcap#How_should_I_define_u_and_v.3F
>>>> The short form, however, might be summarized as:
>>>>
>>>> lfold=: {{ ]F..(u~) }}
>>>> rfold=: {{ ]F.:(u~) }}
>>>>
>>>> I hope this makes sense,
>>>>
>>>> --
>>>> Raul
>>>>
>>>>
>>>>
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
More information about the Programming
mailing list