Changeset 372 for trunk/SRC/Matrix


Ignore:
Timestamp:
08/08/08 14:31:53 (16 years ago)
Author:
pinsard
Message:

improvements of headers (alignments)

Location:
trunk/SRC/Matrix
Files:
5 edited

Legend:

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

    r325 r372  
    77; "first" value, whatever that may mean. 
    88; 
    9 ; @todo seb 
     9; @todo 
     10; seb 
    1011; 
    1112;- 
  • trunk/SRC/Matrix/different.pro

    r371 r372  
    99; @param a {in}{required} 
    1010; arrays of positive integers, which need 
    11 ;               not be sorted. Duplicate elements are ignored, as they have no 
    12 ;               effect on the result 
     11; not be sorted. Duplicate elements are ignored, as they have no 
     12; effect on the result 
    1313; 
    1414; @param b {in}{required} 
  • trunk/SRC/Matrix/extrac2.pro

    r371 r372  
    3737; @param index1 {in}{required} 
    3838; can have 2 forms: 
    39 ; 1)a vector containing indexes of lines we want to keep 
    40 ; 2)the string '*' if we want to keep all lines. 
     39; 
     40;  1) a vector containing indexes of lines we want to keep 
     41;  2) the string '*' if we want to keep all lines. 
    4142; 
    4243; @param index2 {in}{required} 
     
    5051; 
    5152; @returns 
    52 ; a matrix 1,2,3 or 4d extract from input array 
     53; a matrix 1d, 2d, 3d or 4d extract from input array 
    5354; -1 in case of mistake 
    5455; 
     
    6263; 
    6364; other ex: 
     65;   IDL> a=[['a','b','c'],['d','e','f'],['g','h','i']] 
    6466;   IDL> print, a 
    6567; a b c 
     
    7274; @history 
    7375; Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    74                     12/1/1999 
    75                     29/4/1999: correction of a bug and complement of the heading 
     76- 12/1/1999 
     77- 29/4/1999: correction of a bug and complement of the heading 
    7678; 
    7779; @version 
  • trunk/SRC/Matrix/make_selection.pro

    r325 r372  
    4747; 
    4848; @examples 
    49 ;           names = [ 'Alfred','Anton','Peter','John','Mary'] 
    50 ;           index = MAKE_SELECTION(names,['Peter','Mary']) 
    51 ;           print,index 
    52 ;           ; prints  2  4 
    5349; 
    54 ;           vals = indgen(20) 
    55 ;           index = MAKE_SELECTION(vals,[9,-5,8,7,7,8,9]) 
    56 ;           print,index 
    57 ;           ; prints  9  -1  8  7  7  8  9 
     50;   IDL> names = [ 'Alfred','Anton','Peter','John','Mary'] 
     51;   IDL> index = MAKE_SELECTION(names,['Peter','Mary']) 
     52;   IDL> print,index 
     53;   2  4 
    5854; 
    59 ;           index = MAKE_SELECTION(vals,[9,-5,8,7,7,8,9],/ONLY_VALID) 
    60 ;           print,index 
    61 ;           ; prints  9  8  7  7  8  9 
     55;   IDL> vals = indgen(20) 
     56;   IDL> index = MAKE_SELECTION(vals,[9,-5,8,7,7,8,9]) 
     57;   IDL> print,index 
     58;   9  -1  8  7  7  8  9 
    6259; 
    63 ;           index = MAKE_SELECTION(vals,[9,-5,8,7,7,8,9],/REQUIRED) 
    64 ;           print,index 
    65 ;           ; prints  -1 
     60;   IDL> index = MAKE_SELECTION(vals,[9,-5,8,7,7,8,9],/ONLY_VALID) 
     61;   IDL> print,index 
     62;   9  8  7  7  8  9 
     63; 
     64;   IDL> index = MAKE_SELECTION(vals,[9,-5,8,7,7,8,9],/REQUIRED) 
     65;   IDL> print,index 
     66;   -1 
     67; 
     68;   IDL> index = MAKE_SELECTION(vals,[9,-5,8,7,7,8,9],/REQUIRED,/QUIET) 
     69;   % MAKE_SELECTION: Selected name not found in names array (-5)! 
     70;   IDL> print,index 
     71;   -1 
    6672; 
    6773; @history 
  • trunk/SRC/Matrix/union.pro

    r371 r372  
    99; @param a {in}{required} 
    1010; arrays of positive integers, which need 
    11 ;               not be sorted. Duplicate elements are ignored, as they have no 
    12 ;               effect on the result 
     11; not be sorted. Duplicate elements are ignored, as they have no 
     12; effect on the result 
    1313; 
    1414; @param b {in}{required}  
Note: See TracChangeset for help on using the changeset viewer.