[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: array dimensions
- Subject: Re: array dimensions
- From: davidf(at)dfanning.com (David Fanning)
- Date: Sat, 7 Apr 2001 08:03:32 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3acef64d.8348291@news.galactica.it>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:24433
Francesco (francesco.spada@jrc.it) writes:
> Hi to everybody,
>
> I have an array
>
> myarray fltarr[dimx,dimy,dimz]
>
> How can I get the value of dimx, dimy and dimz?
>
> Whith n_elements I have only the total number.
dimensions = Size(myarray, /Dimensions)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155