[Fwd: Re: [Fwd: Re: JAMA defunct and replaced by Apache Commons-Math?]]
- Subject: [Fwd: Re: [Fwd: Re: JAMA defunct and replaced by Apache Commons-Math?]]
- From: Ronald Boisvert <boisvert@nist.gov>
- Date: Wed, 21 Oct 2009 11:21:09 -0400
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=ISO-8859-1; format=flowed
- User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Sender: Anders Peterson <anders@optimatika.se>
Subject: Re: [Fwd: Re: JAMA defunct and replaced by Apache Commons-Math?]
On 19 okt 2009, at 18.53, Ronald Boisvert wrote:
> Another alternative is to use the Java Native Interface (JNI) and
> link to C or Fortran libraries (seehttp://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp..html
> for a quick example of how JNI works). This is a particularly
> useful option if you are concerned about performance.
Java is not as slow as some people think. (10 years ago it was slow.)
This is a quote from the netlib-java project page:
"The pure Java implementation is surprisingly fast. A good rule of
thumb is that native libs only out-perform the Java implementation if
specific hardware is used or matrices are larger than 1000 x 1000
elements."
http://code.google.com/p/netlib-java/
.. and then you may add that the Java code in this case may not be
the best possible. It has been automatically translated from Fortran
using the F2J tool.
/Anders
-----------------------
http://ojalgo.org/
Date Index |
Thread Index |
Problems or questions? Contact list-master@nist.gov