Subchapters: |
Working with arrays
One of the things IDL is able to do is working with arrays very nicely. IDL> vec1
= [1,2,3,4,3,2,3,4,5,5,3] this latest one is a 2D array. Arrays are in the [ column , row ] order. Arrays start at 0!!! => the 5th column of tab[N,M] is tab[4,*] There is a large set of other array-oriented arithmetic functions, such as expand, mean, rebin, reverse, smooth, sort, total, transpose, and so forth. |
IDL courses C. Morisset © 2004 IA/UNAM V 2.2 |