On Thu, Dec 13, 2012 at 4:00 PM, Boyko Bantchev <[email protected]> wrote:
> On 13 December 2012 22:13, Raul Miller <[email protected]> wrote:
>> If we are to continue this discussion, I would appreciate if you could
>> give me an example that illustrates the difference you are speaking
>> of.
>
> It is not a matter of giving an example but of how #. is defined.
> The DoJ defines #. as an inner product, which the Horner's method
> is not.

Ok, I can see your point of view.

That said, the DoJ is not the implementation.

That said, the GPL'd version of J has an implementation that uses
inner product so it's true that intermediate results would be
different.

That said, the equivalent primitive in earlier versions of APL did use
Horner's rule (or at least: that is what Ken Iverson told me).

Thanks,

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

Reply via email to