Abstract
Minimizing the evaluation cost of a polynomial expression is a fundamental problem in computer science. We propose tools that, for a polynomial P given as the sum of its terms, compute a representation that permits a more efficient evaluation. Our algorithm runs in d(nt)O(1) bit operations plus dt O(1) operations in the base field where d, n and t are the total degree, number of variables and number of terms of P. Our experimental results show that our approach can handle much larger polynomials than other available software solutions. Moreover, our computed representation reduce the evaluation cost of P substantially.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Breuer, M.A.: Generation of optimal code for expressions via factorization. ACM Commun. 12(6), 333–340 (1969)
Leiserson, C.E., Li, L., Moreno Maza, M., Xie, Y.: Parallel computation of the minimal elements of a poset. In: Proc. PASCO 2010. ACM Press, New York (2010)
Carnicer, J., Gasca, M.: Evaluation of multivariate polynomials and their derivatives. Mathematics of Computation 54(189), 231–243 (1990)
Ceberio, M., Kreinovich, V.: Greedy algorithms for optimizing multivariate horner schemes. SIGSAM Bull 38(1), 8–15 (2004)
Intel Corporation. Cilk++., http://www.cilk.com/
von zur Gathen, J., Gerhard, J.: Modern Computer Algebra. Cambridge Univ. Press, Cambridge (1999)
Hosangadi, A., Fallah, F., Kastner, R.: Factoring and eliminating common subexpressions in polynomial expressions. In: ICCAD 2004, pp. 169–174. IEEE Computer Society, Los Alamitos (2004)
Peña, J.M.: On the multivariate Horner scheme. SIAM J. Numer. Anal. 37(4), 1186–1197 (2000)
Peña, J.M., Sauer, T.: On the multivariate Horner scheme ii: running error analysis. Computing 65(4), 313–322 (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Leiserson, C.E., Li, L., Maza, M.M., Xie, Y. (2010). Efficient Evaluation of Large Polynomials. In: Fukuda, K., Hoeven, J.v.d., Joswig, M., Takayama, N. (eds) Mathematical Software – ICMS 2010. ICMS 2010. Lecture Notes in Computer Science, vol 6327. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-15582-6_55
Download citation
DOI: https://doi.org/10.1007/978-3-642-15582-6_55
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-15581-9
Online ISBN: 978-3-642-15582-6
eBook Packages: Computer ScienceComputer Science (R0)