• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Matrix support in Java

 
Rancher
Posts: 241
Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried Apache Commons? I think they have a Matrix class.
 
Master Rancher
Posts: 4806
72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to give JScience.org a look.
 
Eric Barnhill
Rancher
Posts: 241
Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Barnhill wrote: . . . Thanks so much!! . . ..

You’re welcome
 
reply
    Bookmark Topic Watch Topic
  • New Topic