Ignore:
Timestamp:
07/07/06 11:57:27 (18 years ago)
Author:
navarro
Message:

english and nicer header (1)

Location:
trunk/SRC/Matrix
Files:
1 added
1 moved

Legend:

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

    r132 r133  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME:union 
    65; 
    7 ; PURPOSE:calcule l''union de 2 matrices D'ENTIERS POSITIFS 
     6; @file_comments  
     7; calculate tne union between 2 matrixes of whole numbers 
    88; 
    9 ; CATEGORY:calcule sur les matrices 
     9; @categories calculation of matrixes 
    1010; 
    11 ; CALLING SEQUENCE:res=union(a,b) 
    12 ; 
    13 ; INPUTS:a et b:arrays of positive integers, which need 
     11; @param a {in}{required} arrays of positive integers, which need 
    1412;               not be sorted. Duplicate elements are ignored, as they have no 
    1513;               effect on the result 
    1614; 
    17 ; KEYWORD PARAMETERS: 
     15; @param b {in}{required} see a 
    1816; 
    19 ; OUTPUTS:tableau 
     17; @returns tableau 
    2018; 
    21 ; COMMON BLOCKS: 
    22 ; 
    23 ; SIDE EFFECTS: 
    24 ; 
    25 ; The empty set is denoted by an array with the first element equal to 
     19; @restrictions The empty set is denoted by an array with the first element equal to 
    2620; -1. 
    2721; 
    28 ; RESTRICTIONS: 
    29 ; 
    30 ; These functions will not be efficient on sparse sets with wide 
     22; @restrictions These functions will not be efficient on sparse sets with wide 
    3123; ranges, as they trade memory for efficiency. The HISTOGRAM function 
    3224; is used, which creates arrays of size equal to the range of the 
    3325; resulting set. 
    3426; 
    35 ; EXAMPLE: 
     27; @examples a = [2,4,6,8] 
     28;           b = [6,1,3,2] 
     29;           union(a,b) = [ 1, 2, 3, 4, 6, 8]  ; Elements in either set 
    3630; 
    37 ;   a = [2,4,6,8] 
    38 ;   b = [6,1,3,2] 
    39 ;   union(a,b) = [ 1, 2, 3, 4, 6, 8]  ; Elements in either set 
     31; @history  http://www.dfanning.com/tips/set_operations.html 
    4032; 
    41 ; MODIFICATION HISTORY:  
     33; @version $Id$ 
    4234; 
    43 ; http://www.dfanning.com/tips/set_operations.html 
    4435;- 
    4536;------------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.