Questions tagged [mtj]

MTJ (Matrix Toolkit Java) is a JNI-based Java wrapper for C++ library for computing numerical linear algebra.

Matrix Toolkit Java is an Open Source Library for computing numerical linear algebra. MTJ uses Netlib as the backend to execute BLAS/LAPACK specific instructions. MTJ however simplifies many interface that deemed unnecessary for common matrix library usage like EJML, Apache Commons Math, JAMA, and the like.

22 questions
6
votes
2 answers

Slow matrix multiplication performance using MTJ/Netlib (native)

I need to multiply big matrices of size 5000x5000 up to 20000x20000. I'm having a problem finding a library that has sparse matrices and yet can do fast multiplication. First of all, I've read the previous question on the performance of Java matrix…
x112341
  • 127
  • 2
  • 10
5
votes
2 answers

Installing OpenBLAS on CentOS / Fedora

In a Java project I am using matrix-toolkits-java (MTJ) for efficient matrix multiplication. This relies on netlib-java, which in turn relies on an optimized implementation of BLAS and LAPACK installed on the machine. It specifically looks for…
TTT
  • 6,505
  • 10
  • 56
  • 82
5
votes
1 answer

Difference between eclipse pulsar, mtj, me

what is difference between eclipse pulsar, eclipse mtj, and eclipse me ?
Arkaha
  • 1,582
  • 3
  • 17
  • 19
4
votes
1 answer

Weka 3.8.1 can't link to mtj.jar, causing java.lang.ClassNotFoundException: no.uib.cipr.matrix.Matrix

I'm processing the some data in weka, and I want to use weka API so that I can use my self-defined algorithms. However, when I just want to instantiate the LinearRegression class: LinearRegression myRegression = new LinearRegression() I got the same…
RandomEli
  • 1,527
  • 5
  • 30
  • 53
4
votes
1 answer

Gradle trying to unzip a pom typed dependency

In a project of mine I have a dependency on a java matrix library MTJ which I specify like this in build.gradle: dependencies { ... compile 'com.googlecode.matrix-toolkits-java:mtj:1.0.4' ... } MTJ in turns depends on netlib, more concretely…
Valentin Ruano
  • 2,726
  • 19
  • 29
4
votes
4 answers

Where is the documentation for Matrix Toolkits Java and Netlib-Java?

I set out to install some fast matrix and BLAS libraries for Java, and settled on MTJ (backed by netlib-java) based on the results of Java Matrix Benchmark. I believe I have everything installed via Maven, but I can't find any credible…
amm
  • 343
  • 3
  • 11
3
votes
4 answers

MTJ 1.1.2 plugin couldn't be installed on Eclipse Juno (4.2)

MTJ (Mobile Tools For Java, a famous J2ME plugin for Eclipse) 1.1.2 couldn't be installed on Eclipse Juno (4.2). I use the following update url to install the plugin: Mobile Tools For Java - http://download.eclipse.org/mtj/updates/1.1.2/stable/ But…
user1503285
  • 31
  • 1
  • 3
2
votes
2 answers

Eclipse MTJ doesn't see Java ME SDK 3.0 devices

I have installed Eclipse: Eclipse Java EE IDE for Web Developers. Version: Helios Service Release 2 Build id: 20110218-0911 and MTJ plug-in Version: 1.1.2.201101310801 When I click Preferences -> Java ME -> Device Management -> Manual…
ILYA
  • 495
  • 6
  • 18
2
votes
2 answers

Am I using the BLAS/LAPACK libraries when using MTJ?

I'm not sure this is the right place to ask my question, so if not, I apologize. I'm writing a Java program that does a lot of sparse matrix multiplications. After some research, I've found that the Matrix Toolkits Java provides some of the best…
Linus
  • 1,113
  • 1
  • 8
  • 14
1
vote
2 answers

How do I fix a "broken" debugger in EclipseME (MTJ)?

How do I fix a broken debugger, one that just won't start, in EclipseME (now Mobile Tools Java)? (This question has an answer which will be transferred from another question soon)
Asaf R
  • 6,880
  • 9
  • 47
  • 69
1
vote
1 answer

Solve task using matrix toolkit java

I have matrix A and vector t. And I need to find vector x, so that A*x = t So there are just 2 steps, convert maxtrix A and vector t to triangle, and then find vector x (or mb it can be done just in one step using this library, idk). How can I do…
Anton
  • 63
  • 6
1
vote
2 answers

Computing the complex eigenvectors of a sparse matrix in Java

I am trying to compute the eigenvalues and eigenvectors of a potentially large and sparse non-symmetrical NxN matrix (N > 10^6). I would not need all of them, but maybe the first of them. Ideally, I'd like to do so from Java but could move to C,…
1
vote
2 answers

Does anyone know how succesfully use preprocessing on J2ME?

I'll try to better explain my problem. Using Eclipse and MTJ (Mobile Tools for Java) plugin you can set some directives for the preprocessor in order to create different builds of your code, like in C/C++. My problem is that i'm unable to use this…
Stefano Driussi
  • 2,241
  • 1
  • 14
  • 19
1
vote
0 answers

Method to Print MTJ Matrix to CSV or other text format?

Context: I need to export the MTJ matrix to Python. Seems like exporting to CSV, then reimporting te CSV from Python, is the best. How to export a MTJ matrix to CSV? Is there a method from the library I missed? Or any other way than just doing it by…
seinecle
  • 10,118
  • 14
  • 61
  • 120
1
vote
1 answer

eclipse mtj memory monitor

Please tell me how can i activate the Sun JavaME memory monitor within eclipse mtj. Thank you.
robinmag
  • 17,520
  • 19
  • 54
  • 55
1
2