Alexander K. Hansen-2 wrote:
>
> I get the same thing as your PowerPC results on my own G4, for both a
> Fink and non-Fink installation of Octave 2.9.13 (from octave.sf.net) ;
> so that inclines me to think it's an upstream issue, and potentially
> solveable by updating the package to 2.9.14.
Ben Abbott wrote:
> I have both PPC and Intel installations of Octave. They both give the wrong
> answer to this short script.
>
> num = [1 0 1];
> den = [1 0 18 0 81];
> [a,p,k,e] = residue(num,den)
>
> I did the math ...
>
> (x^2+1)/(x^4+18*x^2+81) = (2/9)/(x-3i) + (2/9)/(x+3i) + (1/54i)/(x-
I have both PPC and Intel installations of Octave. They both give the wrong
answer to this short script.
num = [1 0 1];
den = [1 0 18 0 81];
[a,p,k,e] = residue(num,den)
I did the math ...
(x^2+1)/(x^4+18*x^2+81) = (2/9)/(x-3i) + (2/9)/(x+3i) + (1/54i)/(x-3i)^2 -
(1/54i)/(x+3i)^2
Thus,