Changeset 232 for trunk/SRC/Matrix/inter.pro
- Timestamp:
- 03/20/07 17:59:36 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Matrix/inter.pro
r231 r232 1 1 ;+ 2 2 ; 3 ; @file_comments 3 ; @file_comments 4 4 ; calculate the intersection between 2 matrices of whole numbers 5 5 ; 6 ; @categories 6 ; @categories 7 7 ; Calculation 8 8 ; … … 23 23 ; resulting set. 24 24 ; 25 ; @examples a = [2,4,6,8] 26 ; b = [6,1,3,2] 27 ; inter(a,b) = [ 2, 6] ; Common elements 25 ; @examples 26 ; IDL> a = [2,4,6,8] 27 ; IDL> b = [6,1,3,2] 28 ; IDL> inter(a,b) = [ 2, 6] ; Common elements 28 29 ; 29 ; @history http://www.dfanning.com/tips/set_operations.html 30 ; @history 31 ; <a href="http://www.dfanning.com/tips/set_operations.html"/> 30 32 ; 31 ; @version $Id$ 33 ; @version 34 ; $Id$ 32 35 ; 33 36 ;- 34 37 ; 35 38 FUNCTION inter, a, b 36 ;37 39 ; 38 40 compile_opt idl2, strictarrsubs
Note: See TracChangeset
for help on using the changeset viewer.