Changeset 495 for trunk/SRC/Matrix
- Timestamp:
- 04/17/14 10:49:43 (10 years ago)
- Location:
- trunk/SRC/Matrix
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Matrix/cmapply.pro
r493 r495 96 96 ; 97 97 ; USER - Applies user-defined function no. of output elements 98 ;99 98 ; 100 99 ; It is possible to perform user-defined operations arrays using … … 173 172 ; @examples 174 173 ; 175 ; First example: 176 ; Shows how <pro>cmapply</pro> can be used to total the second dimension of 174 ; First example: 175 ; Shows how <pro>cmapply</pro> can be used to total the second dimension of 177 176 ; the array called IN. This is equivalent to OUT = TOTAL(IN, 2) 178 177 ; … … 377 376 end 378 377 379 380 378 endcase 381 379 -
trunk/SRC/Matrix/different.pro
r493 r495 34 34 ; IDL> b = [6,1,3,2] 35 35 ; 36 ; IDL> res=different(a,b) 36 ; IDL> res=different(a,b) 37 37 ; 4 8 38 38 ; Right because 4 and 8 are in a but not in b ! -
trunk/SRC/Matrix/extrac2.pro
r373 r495 138 138 endcase 139 139 140 141 140 ;------------------------------------------------------------ 142 141 ;------------------------------------------------------------ -
trunk/SRC/Matrix/inter.pro
r378 r495 9 9 ; Calculation 10 10 ; 11 ; @param a {in}{required} 11 ; @param a {in}{required} 12 12 ; arrays of positive integers, which need not to be 13 13 ; sorted. Duplicate elements are ignored, as they have no effect on the 14 14 ; result 15 15 ; 16 ; @param b {in}{required} 16 ; @param b {in}{required} 17 17 ; see a 18 18 ; … … 23 23 ; -1. 24 24 ; 25 ; @restrictions 25 ; @restrictions 26 26 ; These functions will not be efficient on sparse sets with wide 27 ; ranges, as they trade memory for efficiency. 27 ; ranges, as they trade memory for efficiency. 28 28 ; The <proidl>HISTOGRAM</proidl> function 29 29 ; is used, which creates arrays of size equal to the range of the -
trunk/SRC/Matrix/union.pro
r414 r495 14 14 ; effect on the result 15 15 ; 16 ; @param b {in}{required} 16 ; @param b {in}{required} 17 17 ; see a 18 18 ; … … 20 20 ; an array containing the set of values in a and b. 21 21 ; 22 ; @restrictions 22 ; @restrictions 23 23 ; These functions will not be efficient on sparse sets with wide 24 ; ranges, as they trade memory for efficiency. 24 ; ranges, as they trade memory for efficiency. 25 25 ; The <proidl>HISTOGRAM</proidl> function 26 26 ; is used, which creates arrays of size equal to the range of the … … 31 31 ; IDL> a = [2,4,6,8] 32 32 ; IDL> b = [6,1,3,2] 33 ; IDL> res=union(a,b) 33 ; IDL> res=union(a,b) 34 34 ; IDL> print, res 35 35 ; 1 2 3 4 5 6 -
trunk/SRC/Matrix/zero_one.pro
r373 r495 14 14 ; @examples 15 15 ; 16 ; IDL> a=zero_one(3) 16 ; IDL> a=zero_one(3) 17 17 ; IDL> help,a 18 18 ; A FLOAT = Array[3] … … 20 20 ; 0.00000 1.00000 0.00000 21 21 ; 22 ; IDL> a=zero_one(2,3) 22 ; IDL> a=zero_one(2,3) 23 23 ; IDL> help,a 24 24 ; A FLOAT = Array[2, 3]
Note: See TracChangeset
for help on using the changeset viewer.