Questions tagged [jblas]

Should relate to the jblas library

jblas library: http://jblas.org/

13 questions
27
votes
1 answer

How to configure high performance BLAS/LAPACK for Breeze on Amazon EMR, EC2

I am trying to set up an environment to support exploratory data analytics on a cluster. Based on an initial survey of what's out there my target is use Scala/Spark with Amazon EMR to provision the cluster. Currently I'm just trying to get some…
Tim Ryan
  • 1,010
  • 2
  • 11
  • 19
4
votes
2 answers

How can I install libgfortran3 in Ubuntu/Lubuntu 20.04?

I'm using jBlas and it require libgfortran3 and tell me to install it from: sudo apt-get install libgfortran3 But I'm using Lubuntu 20.04, which use the same packages as Ubuntu 20.04. I can't find the package here…
euraad
  • 2,467
  • 5
  • 30
  • 51
4
votes
0 answers

Constructing a matrix of submatrices in JBLAS

Using JBLAS, I've defined the following matrices: DoubleMatrix I = DoubleMatrix.ones(5,5); DoubleMatrix O = DoubleMatrix.zeros(5,5); DoubleMatrix B = new DoubleMatrix(new double[][] { {1,1,0,0,0}, {1,1,1,0,0}, {0,1,1,1,0}, {0,0,1,1,1},…
Vincent Russo
  • 1,087
  • 3
  • 20
  • 33
3
votes
1 answer

Using jBLAS with NVBLAS

I have compiled jBLAS with NVBLAS with a somewhat hacky solution, since the configure script was not correctly finding the libraries. I manually edited the configure.out file of jBLAS like so, to include the NVBLAS…
TheRealOrange
  • 115
  • 1
  • 1
  • 9
2
votes
0 answers

How To Run JBLAS Java Linear Algebra Without Native Libraries

I'd like to run JBLAS in a Kotlin application. I'm running OpenJDK 17 on a Mac OSX Monterey with M1. I've added the JBLAS dependency to my Maven pom.xml. I've written a JUnit test where one test succeeds and the other fails: package fea import…
duffymo
  • 305,152
  • 44
  • 369
  • 561
2
votes
1 answer

Apache Spark - MLlib - Matrix multiplication

I'm trying to use MLlib for matrix multiplication problem. I am aware that Spark MLLib uses native libraries, which need to be present on the nodes. (that it does not come with spark installation). So I already installed libgfortran library on all…
tphi
  • 21
  • 3
1
vote
1 answer

jblas blas lapack - dsysv slower than dgesv - Why solveSymmetric is slower than solve

I have a Java program making linear algebra. I use the jblas library that, according to my understanding, is supposed to call native libraries implementing Blas and Lapack for faster results. This code is running within a Docker and launched in AWS…
Comencau
  • 1,084
  • 15
  • 35
0
votes
1 answer

jblas 2-d matrix multiplication

I want to compute 2d matrix-matrix multiplication using the Jblas library. But I failed every time to compute. Please help me to do this by giving an example with data.
0
votes
1 answer

Java Jblas DoubleMatrix vector addition

I feel really stupid asking this, but I can't find a method for adding a row/vector to an index or a specific set of indices. My current workaround is to getRows(int[]) then addiRowVector(DoubleMatrix) then put(Range rs, Range cs, DoubleMatrix x) :…
0
votes
1 answer

UnsatisfiedLinkError using jblas in Android for Matrix exponential

I need to use matrix exponential function for my Android application. I have used the library jblas (jblas.org). But it returns the following error and the application crashes! java.lang.UnsatisfiedLinkError: No implementation found for void …
Chaitanya_klk
  • 51
  • 1
  • 4
0
votes
0 answers

Unable to get negative eigenvectors using Eigen. Eigenvectors method in jblas

I am trying to compute eigenvectors and eigenvalues for the below matrix. I am able to get results but all eigenvectors are positive Example: 12.48 -1.88 -6.7 -1.88 26.7 4.32 -6.7 4.32 21.2 [1] Real Eigenvalue = 8.8362…
0
votes
1 answer

Can I use jblas mmul without temporary files?

I'm working on on an Apache crunch job using jblas with the constraint that I can't write any local files. I need to do just one operation that writes temporary files: mmul. For instance, DoubleMatrix dm1 = new DoubleMatrix(2, 2, 1, 2, 3,…
mwlon
  • 798
  • 5
  • 19
-1
votes
1 answer

How to Import JBLAS Library into Android studio

This library downloads in a zip format and extracts to an entire folder structure not a jar file. https://github.com/mikiobraun/jblas-examples/blob/master/src/CG.java I needed some help in getting this imported into android studio.