source: trunk/SRC/Obsolete/zeroun.pro @ 231

Last change on this file since 231 was 231, checked in by pinsard, 17 years ago

improvements/corrections of some *.pro headers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 657 bytes
Line 
1;+
2;
3; @file_comments
4; Send back a vector or a matrix constituate of 0 and 1 in alternation
5;
6; you better use <pro>zero_one</pro>
7;
8; @obsolete
9;
10; @categories
11; Function, Matrix
12;
13; @param n1 {in}{required}
14; number of elements in the first dimension
15;
16; @param n2 {in}{required}
17; number of elements in the second dimension
18;
19; @returns
20; resultat
21;
22; @history
23; Sebastien Masson (smasson\@lodyc.jussieu.fr)
24;                       1/12/98
25;
26; @version
27; $Id$
28;
29;-
30;
31FUNCTION zeroun, n1,n2
32;
33  compile_opt idl2, strictarrsubs
34;
35  case n_params() of
36      0:return, zero_one()
37      1:return, zero_one(n1)
38      2:return, zero_one(n1, n2)
39  endcase
40
41end
Note: See TracBrowser for help on using the repository browser.