Changeset 163 for trunk/SRC/Matrix/cmset_op.pro
- Timestamp:
- 08/29/06 14:59:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Matrix/cmset_op.pro
r157 r163 41 41 ; 42 42 ; The complements of either set can be taken as well, by using the 43 ; NOT1 and NOT2 keywords. For example, it may be desir eable to find43 ; NOT1 and NOT2 keywords. For example, it may be desirable to find 44 44 ; the elements in A but not B, or B but not A (they are different!). 45 45 ; The following IDL expressions achieve each of those effects: … … 79 79 ; See A 80 80 ; 81 ; @param OP0 {in}{required} 81 ; @param OP0 {in}{required}{type=string} 82 82 ; a string, the operation to be performed. Must be one of 83 83 ; 'AND', 'OR' or 'XOR' (lower or mixed case is permitted). … … 101 101 ; 102 102 ; @keyword INDEX 103 ; if set, then return a list of ind ices instead of the array103 ; if set, then return a list of indexes instead of the array 104 104 ; values themselves. The "slower" set operations are always 105 105 ; performed in this case. 106 106 ; 107 ; The ind ices refer to the *combined* array [A,B]. To107 ; The indexes refer to the *combined* array [A,B]. To 108 108 ; clarify, in the following call: I = CMSET_OP(..., /INDEX); 109 109 ; returned values from 0 to NA-1 refer to A[I], and values … … 118 118 ; The resulting set as a one-dimensional array. The set may be 119 119 ; represented by either an array of data values (default), or an 120 ; array of ind ices (if INDEX is set). Duplicate elements, if any,120 ; array of indexes (if INDEX is set). Duplicate elements, if any, 121 121 ; are removed, and element order may not be preserved. 122 122 ;
Note: See TracChangeset
for help on using the changeset viewer.