Questions tagged [ujmp]

For use with questions involving the Java matrix library, Universal Java Matrix Package (UJMP).

UJMP is an open-source Java library used for the creation of dense and sparse matrices. In addition to performing most standard matrix operations, it has import/export capabilities, abilities to work on specialized types of matrices (such as Tree Matrices) and as the site claims abilities to easy support machine learning applications.

12 questions
2
votes
3 answers

Java overloaded constructor force int parameter

I've got two overloaded constructor methods in a class (from UJMP package): DefaultSparseIntMatrix(long... size) and DefaultSparseIntMatrix(int maximumNumberOfEntries, long... size) I want to call the second one with the int, but the compiler…
floorish
  • 706
  • 6
  • 18
2
votes
0 answers

UJMP Sparse Matrix Library not Support

I want to create a Sparse Matrix using Universal Java Matrix package(UJMP)(https://ujmp.org/). I download a zip file (https://github.com/ujmp/universal-java-matrix-package) name universal-java-matrix-package-master. Unzip it. I am using intellij…
Encipher
  • 1,370
  • 1
  • 14
  • 31
2
votes
1 answer

UJMP documentation required

I am using Intellj idea. I heard about UJMP package to create sparse and dense Matrix. I need to create sparse matrix. For that I go to UJMP website. Download a zip file. After extract that a folder created universal-java-matrix-package-master. I…
Encipher
  • 1,370
  • 1
  • 14
  • 31
1
vote
0 answers

Memory out of space error while using Universal java matrix package

I am using UJMP matrix package for my research work. I try to add a normal matrix with sparse matrix as per my research requirement. Matrix Bigomega = Matrix.Factory.zeros(31037, 31037); Matrix omega = SparseMatrix.Factory.zeros(31037, 31037); …
Saswati
  • 192
  • 8
1
vote
0 answers

If else control terminated with out go back to previous control java

I have two data file one is for Robot odometry dataset and another one is robot sensor data set. I just show a portion of those two file. Robot odometer Time forward velocity angular velocity 12.560000 0.067000 …
Encipher
  • 1,370
  • 1
  • 14
  • 31
1
vote
1 answer

UJMP output not shown properly

I am using UJMP matrix package to create Sparse Matrix. But when I try to see the values that inserted in the matrix it only see up to 100 rows. Beyond that [...] printed. This is my code import org.ujmp.core.Matrix; import…
Encipher
  • 1,370
  • 1
  • 14
  • 31
1
vote
2 answers

Identity Matrix creation using ujmp

I am using Universal Java Matrix Package to creating Matrix,Sparse Matrix,Identity Matrix and Matrix operation like addition,subtraction,transpose etc. I have some problem to implementing a code. How to create identity Matrix using UJMP? Here is my…
Encipher
  • 1,370
  • 1
  • 14
  • 31
1
vote
2 answers

How to import/export Matrix from file while using UJMP library?

I'm trying to work on the UJMP library. I created a matrix and I'd like to export it in a txt file and then to import it again as a basic Matrix. I tried the following code but it doesn't work: Matrix m = MatrixFactory.dense(ValueType.INT, new…
criardialo
  • 11
  • 2
1
vote
1 answer

UJMP Java library for sparse matrix

I have downloaded and included UJMP (Universal Java Matrix Package) library to my project for generating sparse matrix. But I could not find any documentation about functions of the library, how to create a sparse matrix, adding element to matrix…
JoshuaJeanThree
  • 1,382
  • 2
  • 22
  • 41
0
votes
1 answer

Logical Error in if else statement in java

My code: import org.ujmp.core.Matrix; import org.ujmp.core.SparseMatrix; public class part { public static void main(String args[]) throws Exception{ Matrix Bigomega=Matrix.Factory.zeros(6,6); Matrix omega =…
Encipher
  • 1,370
  • 1
  • 14
  • 31
0
votes
1 answer

json dependency added in pom.xml get error

I am working with Sparse Matrix in my project. To build a Sparse Matrix I am using Universal Java Matrix Package. I add all the dependency in my pom.xml file.My pom.xml file is like that.
Encipher
  • 1,370
  • 1
  • 14
  • 31
0
votes
1 answer

How to dynamically add or remove columns / rows in a matrix?

I'm using the Universal Java Matrix Package (UJMP) for handling matrices. My problem now is that the matrices are fixed in size but I would like to add or remove rows or columns. Does somebody have an idea how this can be achieved efficiently…
machinery
  • 5,972
  • 12
  • 67
  • 118