Re: ARRAY OF ARRAYS [message #12755] |
Fri, 04 September 1998 00:00 |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
David Sheerin wrote:
>
> Hi
> Can anyone tell me of a quick way of constructing an array of 2x2
> arrays (such as those generated in a multiple call to the POLYWARP
> procedure).
> Thanks for any help received.
>
> David
Look into MAKE_ARRAY()
Example:
N=30 ; 30 2x2 arrays
A=MAKE_ARRAY(30,2,2,/FLOAT) ; creates N 2x2 arrays
; could also call MAKE_ARRAY(2,2,30), of course ...
Martin.
--
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Earth&Planetary Sciences, Harvard University
109 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA
phone: (617)-496-8318
fax : (617)-495-4551
e-mail: mgs@io.harvard.edu
Internet-homepage: http://www-as.harvard.edu/people/staff/mgs/
------------------------------------------------------------ -------
|
|
|