3 research outputs found

    The Efficient Calculation of Powers of Polynomials

    Get PDF
    Suppose we are given a polynomial P(x1,…,xr)P(x_{1},\ldots,x_{r}) in rβ‰₯1r \geq 1 variables, let mm bound the degree of PP in all variables xi,l≀i≀rx_{i}, l \leq i \leq r, and we wish to raise PP to the nthn^{th} power, n>1n>1. In a recent paper which compared the iterative versus the binary method it was shown that their respective computing times were O(m2rnr+1)O(m^{2r}n^{r+1}) versus O((mn)2r)O((mn)^{2r}) when using single precision arithmetic. In this paper a new algorithm is given whose computing time is shown to be O((mn)^{r+1). Also if we allow for polynomials with multiprecision integer coefficients, the new algorithm presented here will be faster by a factor of mrβˆ’1nrm^{r-1}n^{r} over the binary method and faster by a factor of mrβˆ’1m^{r-1} over the iterative method. Extensive empirical studies of all three methods show that this new algorithm will be superior for polynomials of even relatively small degree, thus guaranteeing a practical as well as a useful result
    corecore