Package: libvecmath1.2-java
Version: 1.14-3
Severity: normal

Hello,

the SVD will fail if the matrix has more columns than rows. It's because
it will try to copy the matrix to U, which is smaller than this matrix.

See the attached file for testcase.

Regards
    Jiri Palecek

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-2) (ignored: LC_ALL set to cs_CZ)

Versions of packages libvecmath1.2-java depends on:
ii  gij-4.1 [java1- 4.1.0-1                  The GNU Java bytecode interpreter
ii  jamvm [java1-ru 1.4.2-1                  virtual machine which conforms to 
ii  kaffe           2:1.1.6-3                A JVM to run Java bytecode
ii  kaffe-pthreads  2:1.1.6-3                A POSIX threads enabled version of
ii  sun-j2sdk1.5 [j 1.5.0+update06           Java(TM) 2 SDK, Standard Edition, 
ii  sun-j2se6.0-jre 1.5.9.99+1.6.0beta-1duo1 Sun Java 2 Platform Standard Editi

libvecmath1.2-java recommends no packages.

-- no debconf information
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!        
        
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131

import java.lang.String;
import javax.vecmath.GMatrix;

public class vectst
{
		public static void main(String[] args) {
				GMatrix m1=new GMatrix(1,2),m2=new GMatrix(1,1),m3=new GMatrix(1,2),m4=new GMatrix(2,2);
				m1.SVD(m2,m3,m4); // crashes
		}
}

Reply via email to