On Sep 11, 2006, at 6:47 AM, Boyko Bantchev wrote:
Hello all,
The following is some simple arithmetic on polynomials,
perhaps of interest to some of you. J literature has
much to offer regarding polynomials, but I cannot recall
seeing this particular stuff there, hence the post.
Efficient computation of polynomials makes use of the
so called Horner's method. One implementation in J is
pv=. 4 : '([+x&[EMAIL PROTECTED])/y'
so e.g.:
2 pv 1 _5 3 2
19
Boyko,
Does my article in Vector 14.1 (July 1997) have any relevance to your
technique? It uses determinants on matrices with boxed elements.
Eugene
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm