- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Matrix/union.html
r338 r402 88 88 89 89 <div id="file_comments"> 90 calculate the union between 2 matrices of whole numbers 90 find the union between 2 matrices of whole numbers 91 92 see also <a href="..//Matrix/different.html">different</a> and <a href="..//Matrix/inter.html">inter</a>. 91 93 </div> 92 94 … … 115 117 116 118 <h3>Return value</h3><div class="preformat"> 117 tableau119 an array containing the set of values in a and b. 118 120 </div> 119 121 … … 135 137 <div class="comments"> 136 138 arrays of positive integers, which need 137 138 139 not be sorted. Duplicate elements are ignored, as they have no 140 effect on the result 139 141 </div> 140 142 … … 160 162 161 163 <h3>Examples</h3><div class="preformat"> 162 IDL> a = [2,4,6,8] 163 IDL> b = [6,1,3,2] 164 IDL> union(a,b) = [ 1, 2, 3, 4, 6, 8] ; Elements in either set 164 165 IDL> a = [2,4,6,8] 166 IDL> b = [6,1,3,2] 167 IDL> res=union(a,b) 168 IDL> print, res 169 1 2 3 4 5 6 170 8 171 this is the list ao all elements in either sets. 165 172 </div> 166 173 <h3>Version history</h3> 167 174 168 175 <h4>Version</h4><div class="preformat"> 169 $Id: union.pro 3 25 2007-12-06 10:04:53Z pinsard $176 $Id: union.pro 378 2008-08-12 12:35:46Z pinsard $ 170 177 </div> 171 178 <h4>History</h4><div class="preformat"> … … 178 185 179 186 180 <h4>Restrictions</h4><div class="preformat"> 181 The empty set is denoted by an array with the first element equal to -1. 182 183 187 <h4>Restrictions</h4><div class="preformat"> 184 188 These functions will not be efficient on sparse sets with wide 185 189 ranges, as they trade memory for efficiency.
Note: See TracChangeset
for help on using the changeset viewer.