Ignore:
Timestamp:
03/19/07 11:17:59 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Matrix/different.pro

    r163 r230  
    44;+ 
    55; 
    6 ; @file_comments  
     6; @file_comments 
    77; calculate the different elements of 2 matrix of positive whole numbers. 
    88; 
     
    1010; Calculation 
    1111; 
    12 ; @param a {in}{required} arrays of positive integers, which need 
     12; @param a {in}{required}  
     13; arrays of positive integers, which need 
    1314;               not be sorted. Duplicate elements are ignored, as they have no 
    1415;               effect on the result 
    1516; 
    16 ; @param b {in}{required} see a 
     17; @param b {in}{required}  
     18; see a 
    1719; 
    18 ; @returns tableau 
     20; @returns 
     21; tableau 
    1922; 
    20 ; @restrictions The empty set is denoted by an array with the first element equal to 
     23; @restrictions  
     24; The empty set is denoted by an array with the first element equal to 
    2125; -1. 
    2226; 
    23 ; @restrictions These functions will not be efficient on sparse sets with wide 
     27; @restrictions  
     28; These functions will not be efficient on sparse sets with wide 
    2429; ranges, as they trade memory for efficiency. The HISTOGRAM function 
    2530; is used, which creates arrays of size equal to the range of the 
     
    2833; @examples 
    2934; 
    30  a = [2,4,6,8] 
    31  b = [6,1,3,2] 
    32  different(a,b) = [ 4, 8]         ; Elements in A but not in B 
     35IDL> a = [2,4,6,8] 
     36IDL> b = [6,1,3,2] 
     37IDL> different(a,b) = [ 4, 8]         ; Elements in A but not in B 
    3338; 
    34 ; @history http://www.dfanning.com/tips/set_operations.html 
     39; @history 
     40;  http://www.dfanning.com/tips/set_operations.html 
    3541; 
    36 ; @version $Id$ 
     42; @version 
     43; $Id$ 
    3744; 
    3845;- 
     
    4047;------------------------------------------------------------ 
    4148;------------------------------------------------------------ 
    42 FUNCTION different, a, b   
     49FUNCTION different, a, b 
    4350; 
    4451  compile_opt idl2, strictarrsubs 
Note: See TracChangeset for help on using the changeset viewer.