- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Obsolete/extrait.html
r338 r402 92 92 By default, IDL can make extractions of subdomain: 93 93 94 95 94 IDL> a=indgen(5,5) 95 IDL> print, a 96 96 0 1 2 3 4 97 97 5 6 7 8 9 … … 99 99 15 16 17 18 19 100 100 20 21 22 23 24 101 101 IDL> print, a[[0,2],3] 102 102 15 17 103 103 IDL> print, a[[0,2],*] 104 104 0 2 105 105 5 7 … … 108 108 20 22 109 109 but 110 110 IDL> print, a[[0,2],[3,4]] 111 111 15 22 112 112 while 113 113 IDL> print, extrait(a,[0,2],[3,4]) 114 114 15 17 115 115 20 22 … … 143 143 144 144 <h3>Return value</h3><div class="preformat"> 145 a matrix 1 ,2,3or 4d extract from tab145 a matrix 1d, 2d, 3d or 4d extract from tab 146 146 -1 in case of mistake 147 147 </div> … … 163 163 164 164 <div class="comments"> 165 a 1 ,2,3 or 4 dimtable165 a 1d, 2d, 3d or 4d table 166 166 </div> 167 167 … … 237 237 matrix 2d of the line 2,3 and 7 and of the column 0 and 1: 238 238 239 IDL> res=extrait(A,[2,3,7],[0,1])239 IDL> res=extrait(A,[2,3,7],[0,1]) 240 240 241 241 other ex: 242 IDL> print, a242 IDL> print, a 243 243 a b c 244 244 d e f 245 245 g h i 246 IDL> print, extrait(a,[0,2],[0,2])246 IDL> print, extrait(a,[0,2],[0,2]) 247 247 a c 248 248 g i … … 251 251 252 252 <h4>Version</h4><div class="preformat"> 253 $Id: extrait.pro 3 25 2007-12-06 10:04:53Z pinsard $253 $Id: extrait.pro 378 2008-08-12 12:35:46Z pinsard $ 254 254 </div> 255 255 <h4>History</h4><div class="preformat">
Note: See TracChangeset
for help on using the changeset viewer.