• Post Reply Bookmark Topic Watch Topic
  • New Topic

Matrix support in Java  RSS feed

 
Eric Barnhill
Rancher
Posts: 239
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm wondering if anyone can recommend a library to get matlab- or octave- like matrix functionality in Java.

I see a few libraries out there. NIST had a Java numerics project going that produced JAMA and Jampack but they haven't updated their site since 2003. Someone else pursued an initiative called JMathLib but that page hasn't been updated since 2009. That doesn't mean they aren't great packages, I just wanted to see if anyone knew.

I know a lot of science based software runs on Java (doesn't Scilab)? So is everyone just using octave or Matlab via a socket?

Many thanks for any suggestions.

-Eric
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java3D has an associated package (javax.vecmath) that implements vectors and matrices, but I'm not sure up to what size.
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried Apache Commons? I think they have a Matrix class.
 
Mike Simmons
Ranch Hand
Posts: 3090
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to give JScience.org a look.
 
Eric Barnhill
Rancher
Posts: 239
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That Apache.commons.math package looks perfect! Thanks so much!!

FYI I investigated further my hunch that SciLab runs on Java. It does and there is also a JavaSci package for people who want to blend Java and Matlab code. So between the two of these I ought to be well set.

SciLab is quite popular suggesting there is at least some scientific computing going on with Java -- and I am writing for ImageJ which is also quite a popular program in medical imaging.
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Barnhill wrote: . . . Thanks so much!! . . ..
You’re welcome
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!