English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am in a computer Science course that wants me to write and algorithm for multiplying polynomials in the most efficient way in JAVA code. Any ideas

2006-09-28 12:27:41 · 2 answers · asked by Help me Pick my Brain 2 in Computers & Internet Programming & Design

2 answers

Here is a very nice general purpose Polynomial utility class:

http://www.cs.princeton.edu/introcs/92symbolic/Polynomial.java.html

Looking at the methods (especially times()) should give you some inspiration. I'm sure you could then figure out other simpler or maybe nicer ways to implement it.

2006-09-28 12:34:48 · answer #1 · answered by vincentgl 5 · 0 0

easy just multiply the top then the bottom and write a script.

2006-09-28 19:36:01 · answer #2 · answered by San Fran Kid 2 · 0 0

fedest.com, questions and answers