[PYTHON MATRIX-SIG] fft's

Konrad HINSEN hinsenk@ere.umontreal.ca
Wed, 28 Feb 1996 17:41:18 -0500


> > >      LDA - INTEGER.
> > >                     On entry, LDA specifies the first dimension of the
> > >                     array SEQUENCE as declared in the calling (sub)program.
> > >                     LDA must be at least max( 1, 2*((N1+2)/2) ).
> > >                     Unchanged on exit.
> > 
> > and this the physical size of the grid. The reason for having both
> > is that you might want to dimension some arrays larger than necessary
> > to avoid recompilation for every different value of N1/N2.
> 
> This is what I thought, except that the formula for LDA's minimum size
> seems to imply that it must be at least *1 larger* than N1?  Perhaps
> the library module uses this as temp space?

The minimum value is nonsense. The smallest reasonable value for N1 is
1, which makes 2*((N1+2)/2) = 2, which is always larger than 1.

-------------------------------------------------------------------------------
Konrad Hinsen                     | E-Mail: hinsenk@ere.umontreal.ca
Departement de chimie             | Tel.: +1-514-343-6111 ext. 3953
Universite de Montreal            | Fax:  +1-514-343-7586
C.P. 6128, succ. Centre-Ville     | Deutsch/Esperanto/English/Nederlands/
Montreal (QC) H3C 3J7             | Francais (phase experimentale)
-------------------------------------------------------------------------------

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================