Simple? I'm sure this is not what you meant, but ...
".@;@|."1 &>([,(<'+'),])`([,(<'*'),])/&|.&.> <@":"0 each<\. 1 2 3 4 5
6 7
209 209 207 69 65 13 7
On Tue, Feb 23, 2016 at 3:38 PM, Skip Cave <[email protected]> wrote:
> Here's what we get today:
>
> *`+/\. 1 2 3 4 5 6 7
> 209 382 207 188 65 42 7
>
> Step-by-step:
>
> 1*2+3*4+5*6+7
> 209
> 2*3+4*5+6*7
> 382
> 3*4+5*6+7
> 207
> 4*5+6*7
> 188
> 5*6+7
> 65
> 6*7
> 42
> 7
> 7
>
>
> What Raul would like (I think):
>
> *`+/\. 1 2 3 4 5 6 7
> 209 209 207 69 65 13 7
>
> Step-by-step:
>
> 1*2+3*4+5*6+7
> 209
> 2+3*4+5*6+7
> 209
> 3*4+5*6+7
> 207
> 4+5*6+7
> 69
> 5*6+7
> 65
> 6+7
> 13
> 7
> 7
>
> So the question is: Is there a simple way to achieve this second process?
>
> Skip
>
> Skip Cave
> Cave Consulting LLC
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm