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_assistant_output/Matrix/different.html

    r338 r402  
    6262 
    6363     
    64  calculate the different elements of 2 matrix of positive whole numbers. 
     64 find the different elements of 2 matrixes of positive whole numbers. 
     65 
     66 see also <a href="..//Matrix/union.html">union</a> and <a href="..//Matrix/inter.html">inter</a>. 
    6567 
    6668 
     
    8082 
    8183    <h3>Return value</h3> 
    82  tableau 
     84 an array containing the set of values in only a. 
     85 
     86 The empty set is denoted by an array with the first element equal to 
     87 -1. 
    8388 
    8489 
     
    101106     
    102107 arrays of positive integers, which need 
    103                not be sorted. Duplicate elements are ignored, as they have no 
    104                effect on the result 
     108 not be sorted. Duplicate elements are ignored, as they have no 
     109 effect on the result 
    105110 
    106111     
     
    128133    <h3>Examples</h3><pre> 
    129134 
    130   IDL> a = [2,4,6,8] 
    131   IDL> b = [6,1,3,2] 
    132   IDL> different(a,b) = [ 4, 8]         ; Elements in A but not in B 
     135   IDL> a = [2,4,6,8] 
     136   IDL> b = [6,1,3,2] 
     137 
     138   IDL> res=different(a,b)  
     139              4           8 
     140 Right because 4 and 8 are in a but not in b ! 
     141 
     142   IDL> res=different(b,a) 
     143   IDL> print,res 
     144              1           3 
     145 
     146 Right because 1 and 3 are in b but not in a ! 
    133147 
    134148    </pre><h3>Version history</h3> 
    135149     
    136150    <h4>Version</h4> 
    137  $Id: different.pro 325 2007-12-06 10:04:53Z pinsard $ 
     151 $Id: different.pro 373 2008-08-08 14:11:31Z pinsard $ 
    138152 
    139153    <h4>History</h4> 
     
    147161     
    148162    <h4>Restrictions</h4> 
    149  The empty set is denoted by an array with the first element equal to 
    150  -1. 
    151  
    152  
    153163 These functions will not be efficient on sparse sets with wide 
    154164 ranges, as they trade memory for efficiency. The HISTOGRAM function 
Note: See TracChangeset for help on using the changeset viewer.