Fwd: Re: Jama .vs. Colt ?
- Subject: Fwd: Re: Jama .vs. Colt ?
- From: boisvert@nist.gov
- Date: Mon, 18 Feb 2008 19:04:20 -0500
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain; charset=ISO-8859-1
- User-Agent: Internet Messaging Program (IMP) 3.2.1
Sender: Anders Peterson <anders_peterson@optimatika.se>
Subject: Re: Jama .vs. Colt ?
I have done a fair bit of performance testing with different matrix
packages.
Jama performs well on smaller matrices. In my testing Colt's design
doesn't become an advantage unless you have more than something like
100k elements. That's roughly the same characteristics as ojAlgo, and
that's because Colt and ojAlgo have similar array designs as a
foundation for their matrix implementations.
The various matrix decompositions available with Colt are straight
imports from Jama. They do not use those fancy high performance arrays.
I cannot see why/how they could perform differently in any way.
Just like Colt ojAlgo has borrowed all the matrix decompositions from
Jama, but has also built new implementations taking advantage of the
special array design. On 1M elements matrices the ojAlgo QR
decomposition is 5 to 15 times faster than Jama's implementation.
http://ojalgo.org/matrix_compare.html
/Anders
Cleve Moler wrote:
> Hi --
>
> As far as I know, none of the original developers of Jama, including me,
> are actively working on the package today. Execution speed was not an
> important design goal for Jama. At the time, Java speed was so much
> slower than Fortran, C, or machine optimized BLAS, that we had no
> intention of competing in that arena.
>
> I was not aware of Colt until your post. Thanks for bringing it to my
> attention. According to
>
>
> http://dsd.lbl.gov/~hoschek/colt/api/cern/colt/matrix/linalg/package-sum
> mary.html#Overview
>
> Colt borrows many algorithmic ideas from Jama, but pays more attention
> to performance. Because of that, I expect Colt is faster than Jama, but
> I don't know of any quantitative results.
>
> -- Cleve Moler
>
> -----Original Message-----
>
>> From: jama@nist.gov [mailto:jama@nist.gov] On Behalf Of Richard Gomes
>>
> Sent: Friday, February 15, 2008 3:09 PM
> To: Multiple recipients of list
> Subject: Jama .vs. Colt ?
>
> Hi,
>
> I'd like to know what's the current status of Jama regarding:
> * bug fixes;
> * support on JDK6
> * performance on JDK6
>
> How do you compare Jama and Colt?
> Any advantage on using Jama over the version embedded in Colt?
>
> Thanks
>
>
----- End forwarded message -----
Date Index |
Thread Index |
Problems or questions? Contact list-master@nist.gov