Re: [Fink-users] trouble with Octave
Ben Abbott bpabbott at mac.com writes: Ben Abbott wrote: A corrected and Matlab compatible version of residue.m has been checked into the Octave cvs. It is planned to accompany the next release of Octave. Version 2.9.15 (with new residue.m) is out, but not yet here. By the end of next week version 2.9.16 will be out. Any reason why the updates on Fink are lagging? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
Ben Abbott bpabbott at mac.com writes: Ben Abbott wrote: A corrected and Matlab compatible version of residue.m has been checked into the Octave cvs. It is planned to accompany the next release of Octave. Version 2.9.15 (with new residue.m) is out, but not yet here. By the end of next week version 2.9.16 will be out. Any reason why the updates on Fink are lagging? I just uploaded info files for octave-2.9.15 and octave-forge-20071014 to the package submission tracker: http://sourceforge.net/tracker/?group_id=17203atid=414256 I had previously emailed the developers with these, but they must be busy this week. You can use the info files by placing them in your local/main tree. Regards, Jonathan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
Jonathan Stickel jjstickel at vcn.com writes: I just uploaded info files for octave-2.9.15 and octave-forge-20071014 to the package submission tracker: http://sourceforge.net/tracker/?group_id=17203atid=414256 I had previously emailed the developers with these, but they must be busy this week. You can use the info files by placing them in your local/main tree. Regards, Jonathan Jonathan, I've been working on an Fink info file and a patch for SuiteSparse. The purpose of which is the efficient support of sparse matrices in Octave. This task is a bit tasking on me. I recently took a took at Octave's patch and was quickly lost. Would you be interested in helping? Ben bpabbott at mac dot com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
Ben Abbott wrote: Ben Abbott bpabbott at mac.com writes: Ben Abbott wrote: A corrected and Matlab compatible version of residue.m has been checked into the Octave cvs. It is planned to accompany the next release of Octave. Version 2.9.15 (with new residue.m) is out, but not yet here. By the end of next week version 2.9.16 will be out. Any reason why the updates on Fink are lagging? Because maintainers have lives outside of Fink. -- Alexander K. Hansen Fink User Liaison/Documenter akh AT finkproject DOT org - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
Ben Abbott wrote: Alexander Hansen wrote: On 9/24/07, Ben Abbott [EMAIL PROTECTED] wrote: Jean-François Mertens-3 wrote: Please redo ! Once is apparently not sufficient .. Or at least check that your equality above is not right! Correct coefficients with you sequence of denominators are -5i/54 , 5i/54 , 2/9 , 2/9 ... if I'm not mistaken. Thanks for the correction. Jean-François Mertens-3 wrote: But this has no importance : The link documents quite well that it is an upstream problem, [...] Agreed. Just making sure its not just me. -- View this message in context: http://www.nabble.com/trouble-with-Octave-tf4511817.html#a12870464 Sent from the fink-users mailing list archive at Nabble.com. Unfortunately, it appears that 2.9.14 (at least on PowerPC), still doesn't give an answer that agrees with the analytic one: [... snip ...] So it appears upstream hasn't quite worked this out yet. -- Alexander K. Hansen I also noticed this yesterday. There are at least two individuals, in addition to myself, who are working on this. I'd like to eventually introduce a version that includes all of Matlab's functionality, for their function of the same name. In the meantime, two versions have been posted on Octave's message board that address this problem with pole multiplicity (but do not yet include all of Matlab's functionality). If anyone wants to help out, or make use of some of the corrected versions, you can find them on Octave's message boad, look for the subject residue() confusion. A corrected and Matlab compatible version of residue.m has been checked into the Octave cvs. It is planned to accompany the next release of Octave. -- View this message in context: http://www.nabble.com/trouble-with-Octave-tf4511817.html#a13167195 Sent from the fink-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
On 9/24/07, Ben Abbott [EMAIL PROTECTED] wrote: Jean-François Mertens-3 wrote: Please redo ! Once is apparently not sufficient .. Or at least check that your equality above is not right! Correct coefficients with you sequence of denominators are -5i/54 , 5i/54 , 2/9 , 2/9 ... if I'm not mistaken. Thanks for the correction. Jean-François Mertens-3 wrote: But this has no importance : The link documents quite well that it is an upstream problem, [...] Agreed. Just making sure its not just me. -- View this message in context: http://www.nabble.com/trouble-with-Octave-tf4511817.html#a12870464 Sent from the fink-users mailing list archive at Nabble.com. Unfortunately, it appears that 2.9.14 (at least on PowerPC), still doesn't give an answer that agrees with the analytic one: octave:1 num = [1 0 1]; octave:2 den = [1 0 18 0 81]; octave:3 [a,p,k,e] = residue(num,den) a = 8.4492e+06 - 3.9658e+06i 8.4492e+06 + 3.9658e+06i -8.4492e+06 + 3.9658e+06i -8.4492e+06 - 3.9658e+06i p = 0. + 3.i 0. - 3.i -0. + 3.i -0. - 3.i k = [](0x0) e = 1 1 1 1 And for reference, 2.9.14 on my Debian/x86 box gives: octave2.9:1 num = [1 0 1]; octave2.9:2 den = [1 0 18 0 81]; octave2.9:3 [a,p,k,e] = residue(num,den) a = 7.4540e+03 - 9.9176e+06i 7.4540e+03 + 9.9176e+06i -7.4540e+03 + 9.9176e+06i -7.4540e+03 - 9.9176e+06i p = 0. + 3.i 0. - 3.i -0. + 3.i -0. - 3.i k = [](0x0) e = 1 1 1 1 So it appears upstream hasn't quite worked this out yet. -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
Alexander Hansen wrote: On 9/24/07, Ben Abbott [EMAIL PROTECTED] wrote: Jean-François Mertens-3 wrote: Please redo ! Once is apparently not sufficient .. Or at least check that your equality above is not right! Correct coefficients with you sequence of denominators are -5i/54 , 5i/54 , 2/9 , 2/9 ... if I'm not mistaken. Thanks for the correction. Jean-François Mertens-3 wrote: But this has no importance : The link documents quite well that it is an upstream problem, [...] Agreed. Just making sure its not just me. -- View this message in context: http://www.nabble.com/trouble-with-Octave-tf4511817.html#a12870464 Sent from the fink-users mailing list archive at Nabble.com. Unfortunately, it appears that 2.9.14 (at least on PowerPC), still doesn't give an answer that agrees with the analytic one: [... snip ...] So it appears upstream hasn't quite worked this out yet. -- Alexander K. Hansen I also noticed this yesterday. There are at least two individuals, in addition to myself, who are working on this. I'd like to eventually introduce a version that includes all of Matlab's functionality, for their function of the same name. In the meantime, two versions have been posted on Octave's message board that address this problem with pole multiplicity (but do not yet include all of Matlab's functionality). If anyone wants to help out, or make use of some of the corrected versions, you can find them on Octave's message boad, look for the subject residue() confusion. -- View this message in context: http://www.nabble.com/trouble-with-Octave-tf4511817.html#a12924347 Sent from the fink-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] trouble with Octave
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, a = [1/54i 2/9 -1/54i 2/9] p = [3i 3i -3i -3i] k = [] e = [2 1 2 1] However, my Intel version gives a = -3.0108e+06 - 1.9734e+06i -3.0108e+06 + 1.9734e+06i 3.0108e+06 + 1.9734e+06i 3.0108e+06 - 1.9734e+06i p = -0. + 3.i -0. - 3.i 0. + 3.i 0. - 3.i k = [](0x0) e = 1 1 1 1 and my PPC version gives a = 8.4492e+06 - 3.9658e+06i 8.4492e+06 + 3.9658e+06i -8.4492e+06 + 3.9658e+06i -8.4492e+06 - 3.9658e+06i p = 0. + 3.i 0. - 3.i -0. + 3.i -0. - 3.i k = [](0x0) e = 1 1 1 1 For reference, Matlab gives a = 0 - 0.0926i 0. - 0.i 0 + 0.0926i 0. + 0.i p = 0. + 3.i 0. + 3.i 0. - 3.i 0. - 3.i k = [] A non-Fink installation for 2.9.14 produces the correct answer as well, see the link below. http://www.nabble.com/bug-in-residue.m-tf4475396.html Can any confirm they get the same result? -- View this message in context: http://www.nabble.com/trouble-with-Octave-tf4502540.html#a12841144 Sent from the fink-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
On 23 Sep 2007, at 00:54, 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-3i)^2 - (1/54i)/(x+3i)^2 Please redo ! Once is apparently not sufficient .. Or at least check that your equality above is not right! Correct coefficients with you sequence of denominators are -5i/54 , 5i/54 , 2/9 , 2/9 ... if I'm not mistaken. But this has no importance : A non-Fink installation for 2.9.14 produces the correct answer as well, see the link below. http://www.nabble.com/bug-in-residue.m-tf4475396.html The link documents quite well that it is an upstream problem, and the guy who claims he had no problems doesn't know what he is talking about: he also gets 6 digit coefficients, and no pole multiplicity. (and by the way, he is also using Octave 2.9.13 on Mac OS X) Can any confirm they get the same result? Sure I But as said, this is an upstream problem, not fink's ! JF Mertens - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] trouble with Octave
Jean-François Mertens-3 wrote: Please redo ! Once is apparently not sufficient .. Or at least check that your equality above is not right! Correct coefficients with you sequence of denominators are -5i/54 , 5i/54 , 2/9 , 2/9 ... if I'm not mistaken. Thanks for the correction. Jean-François Mertens-3 wrote: But this has no importance : The link documents quite well that it is an upstream problem, [...] Agreed. Just making sure its not just me. -- View this message in context: http://www.nabble.com/trouble-with-Octave-tf4511817.html#a12870464 Sent from the fink-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users