Ignore:
Timestamp:
07/23/09 11:18:49 (15 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Matrix/different.html

    r338 r402  
    8888 
    8989      <div id="file_comments"> 
    90  calculate the different elements of 2 matrix of positive whole numbers. 
     90 find the different elements of 2 matrixes of positive whole numbers. 
     91 
     92 see also <a href="..//Matrix/union.html">union</a> and <a href="..//Matrix/inter.html">inter</a>. 
    9193</div> 
    9294 
     
    115117 
    116118          <h3>Return value</h3><div class="preformat"> 
    117  tableau 
     119 an array containing the set of values in only a. 
     120 
     121 The empty set is denoted by an array with the first element equal to 
     122 -1. 
    118123</div> 
    119124 
     
    135140          <div class="comments"> 
    136141 arrays of positive integers, which need 
    137                not be sorted. Duplicate elements are ignored, as they have no 
    138                effect on the result 
     142 not be sorted. Duplicate elements are ignored, as they have no 
     143 effect on the result 
    139144</div> 
    140145             
     
    161166          <h3>Examples</h3><div class="preformat"> 
    162167 
    163   IDL> a = [2,4,6,8] 
    164   IDL> b = [6,1,3,2] 
    165   IDL> different(a,b) = [ 4, 8]         ; Elements in A but not in B 
     168   IDL> a = [2,4,6,8] 
     169   IDL> b = [6,1,3,2] 
     170 
     171   IDL> res=different(a,b)  
     172              4           8 
     173 Right because 4 and 8 are in a but not in b ! 
     174 
     175   IDL> res=different(b,a) 
     176   IDL> print,res 
     177              1           3 
     178 
     179 Right because 1 and 3 are in b but not in a ! 
    166180</div> 
    167181          <h3>Version history</h3> 
    168182           
    169183          <h4>Version</h4><div class="preformat"> 
    170  $Id: different.pro 325 2007-12-06 10:04:53Z pinsard $ 
     184 $Id: different.pro 373 2008-08-08 14:11:31Z pinsard $ 
    171185</div> 
    172186          <h4>History</h4><div class="preformat"> 
     
    180194           
    181195          <h4>Restrictions</h4><div class="preformat"> 
    182  The empty set is denoted by an array with the first element equal to 
    183  -1. 
    184  
    185  
    186196 These functions will not be efficient on sparse sets with wide 
    187197 ranges, as they trade memory for efficiency. The HISTOGRAM function 
Note: See TracChangeset for help on using the changeset viewer.