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

improvements of headers (examples and results)

File:
1 edited

Legend:

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

    r325 r373  
    66; Matrix 
    77; 
    8 ; @param n1 {in}{required} 
     8; @param n1 {in}{required} {type=integer} 
    99; number of elements in the first dimension 
    1010; 
    11 ; @param n2 {in}{required} 
     11; @param n2 {in} {type=integer} 
    1212; number of elements in the second dimension 
    1313; 
     14; @examples 
     15; 
     16;   IDL> a=zero_one(3)    
     17;   IDL> help,a 
     18;   A               FLOAT     = Array[3] 
     19;   IDL> print,a 
     20;         0.00000      1.00000      0.00000 
     21; 
     22;   IDL> a=zero_one(2,3)    
     23;   IDL> help,a 
     24;   A               FLOAT     = Array[2, 3] 
     25;   IDL> print,a 
     26;      0.00000      1.00000 
     27;      1.00000      0.00000 
     28;      0.00000      1.00000 
     29; 
    1430; @returns 
    15 ; result 
     31; an array of n1 dimension or n1xn2 dimensions 
    1632; 
    1733; @history 
Note: See TracChangeset for help on using the changeset viewer.