Thread View: sci.math.num-analysis
2 messages
2 total messages
Started by Mark J. Encarnacion
Tue, 06 Oct 1992 17:25
complex roots
Author: Mark J. Encarnacion
Date: Tue, 06 Oct 1992 17:25
Date: Tue, 06 Oct 1992 17:25
9 lines
981 bytes
981 bytes
Given a polynomial of degree n with complex coefficients, I need to compute all n complex roots (multiple or otherwise) of this polynomials. I tried the code given in Numerical Recipes in C, pp. 280-282, which is supposed to be a sure-fire technique. However, for some polynomials (e.g. x^3 - 1) I get wrong results. Is it known that this code contains bugs? If not, I must be doing something wrong, although I used the code verbatim. Any advice that will help me write a C program that works will be appreciated. Thanks, Mark
Re: complex roots
Author: akyildiz
Date: Wed, 14 Oct 1992 15:34
Date: Wed, 14 Oct 1992 15:34
10 lines
1135 bytes
1135 bytes
In article <19921006.182543728139.NETNEWS@ALIJKU11>, mencarna@risc.uni-linz.ac.at (Mark J. Encarnacion) writes: > Given a polynomial of degree n with complex coefficients, I need to compute > all n complex roots (multiple or otherwise) of this polynomials. I tried > the code given in Numerical Recipes in C, pp. 280-282, which is supposed to > be a sure-fire technique. However, for some polynomials (e.g. x^3 - 1) I get > wrong results. Is it known that this code contains bugs? If not, I must be > doing something wrong, although I used the code verbatim. Any advice that will > help me write a C program that works will be appreciated. > Thanks, > Mark
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads