On Wed, Dec 12, 2012 at 6:29 PM, Boyko Bantchev <[email protected]> wrote: > On 12 December 2012 23:48, Raul Miller <[email protected]> wrote: >> J's #. implements horner's rule. > > It does not.
http://rosettacode.org/wiki/Horner's_rule_for_polynomial_evaluation#J > But even if it did, this would not have much relevance to what I wrote about. Except that you wrote about implementing polynomial evaluation using Horner's rule, I think I agree with you. I will grant you, though, that the J implementation of polynomial division posted at rosettacode does not use the #. primitive. That said, I would also note that "position in a sequence" has a logical equivalence to a "named variable" (if you are thinking mathematically) and that many lambdas can likewise be thought of as matrix or tensor operations (assuming you can represent your domain numerically). -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
