Public bug reported:

Binary package hint: scilab

I encountered the following bug when running the attached scilab program
test.sci in scilab 4.0:

-->A=[1,0.5;0.5,1];
-->[U,S,V]=svd(A);
-->B=U*S*V'
-->A-B

gives

-->B=U*S*V'
 B  =

    0.     0.5
    0.5    0.

-->A-B
 ans  =

   1.0E-15 *

    0.2220446    0.3330669
    0.           0.1110223

As you can see, the value for B is wrong, since B should equal A.
On the other hand A-B is practically 0.

The problem occured on two different platforms (running ubuntu) using the
debian package.
However, it does not occur in scilab 4.1 as downloaded from www.scilab.org,
i.e. here we get the correct answer for B

-->B=U*S*V'
 B  =

    1.     0.5
    0.5    1.

-->A-B
 ans  =

   1.0E-15 *

    0.2220446    0.3330669
    0.           0.1110223

I have reported this to Torsten Werner, the dedian-package maintainer, who said 
that he knew that the scilab package in ubuntu
is completely broken, but that there is no problem of that sort on a debian 
platform.

** Affects: scilab (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
scilab gives wrong results
https://bugs.launchpad.net/bugs/106757
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to