Package: libvecmath1.2-java
Version: 1.14-3
Severity: normal
Hello,
there is no way of transposing nonrectangular matricies in libvecmath. The
problem is that x.transpose() doesn't work (throws exception) and
y.transpose(x) calls x.transpose().
See the attached testcase for details.
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
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
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.transpose(); // will crash here
// m1.SVD(m2,m3,m4);
}
}