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
1
vote
1 answer

Construct Matrix in Matrix Toolkit Java

I have quite a naive question, concerning the the Matrix Toolkit Java (MTJ): how to I build a Matrix B starting from a double[][] A? Cause, within the library, Matrix is only an interface and not a class. EDIT So, I thought that having JAMA and…
fpe
  • 2,700
  • 2
  • 23
  • 47
0
votes
2 answers

creating a row vector in java matrix toolkit (MTJ)

I need to implement a multiplication formula where an row matrix of size 'n' is to be multiplied by an n*n matrix.. I have used DenseMatrix class to create the n*n matrix from a 2D array...but my problem is how to create a row Vector... I can use…
Navin Israni
  • 1,327
  • 3
  • 15
  • 27
0
votes
1 answer

Eclipse MTJ: How to archive all the classes into JAR even the class not referenced by MIDlet?

I am using the Eclipse 3.5.2 with Mobile Tool Java plug-in ver. 1.0.1. I found IF the class not referenced by MIDlet then this class will not be archived into the .jar file. Does anybody know how to do that for archive all the classes under the…
Will Tu
  • 60
  • 2
  • 9
0
votes
1 answer

how different is Europa from Eclipse-Galileo-MTJ?

Hi All I am doing my coding in J2ME (MIDlets)... can you guys tell me which platform should I choose... eclipse Europa or Eclipse-Galileo-MTJ .. which is better and Why?
garima
  • 5,154
  • 11
  • 46
  • 77
0
votes
1 answer

Making a matrix bigger

I'm using MatrixToolkitsJava for a Neural Network project for my thesis, and in it I need to make the weights matrices larger, and later potentially smaller. The way I'm currently doing this now, creating a new matrix and copying the existing…
Beez
  • 391
  • 5
  • 6
  • 16
0
votes
1 answer

eclipse mtj - proguard : obfuscate third party jar error

I use proguard (support in mtj plugin) to obfuscate a project that has some third party jars but it gives me errors: Your input classes appear to be inconsistent. You may need to recompile them and try again. Alternatively, you may have to…
robinmag
  • 17,520
  • 19
  • 54
  • 55
0
votes
1 answer

How to multiply row-vector with matrix in MTJ?

I want to multiply a row vector V with a matrix M to get a vector V', i.e. V' = V * M How can I do that with MTJ? The interface Vector doesn't seem to have a multiply method.
Zoltán
  • 21,321
  • 14
  • 93
  • 134
1
2