Re: Who uses clapack?
From: glen herrmannsfeldt (gah_at_ugcs.caltech.edu)
Date: 12/10/04
- Next message: Niels L. Ellegaard: "Re: Who uses clapack?"
- Previous message: T. Wakamatsu: "How to parameterize the positive semi-definite correlation matrix?"
- In reply to: Dan Pop: "Re: Who uses clapack?"
- Next in thread: Allin Cottrell: "Re: Who uses clapack?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Dec 2004 11:25:13 -0800
Dan Pop wrote:
(snip regarding lapack and clapack)
> The issue that springs to mind is that Fortran and C store matrices
> differently: Fortran does it column-wise (the first index varies fastest),
> C does it row-wise (the last index varies fastest).
> The fact that Fortran array indexing is 1-based (by default) and C array
> indexing is 0-based shouldn't cause any problems when using the compiled
> Fortran code from C.
Some people who write numerical algorithms in Fortran exchange
the subscripts from the mathematical description, and others don't.
With cache memory and virtual memory one should always be sure that
the loops correspond to the memory layout in the appropriate language.
-- glen
- Next message: Niels L. Ellegaard: "Re: Who uses clapack?"
- Previous message: T. Wakamatsu: "How to parameterize the positive semi-definite correlation matrix?"
- In reply to: Dan Pop: "Re: Who uses clapack?"
- Next in thread: Allin Cottrell: "Re: Who uses clapack?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|