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

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

modification of some headers (+some corrections) to prepare usage of the new idldoc

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 655 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;-
30FUNCTION zeroun, n1,n2
31;
32  compile_opt idl2, strictarrsubs
33;
34  case n_params() of
35      0:return, zero_one()
36      1:return, zero_one(n1)
37      2:return, zero_one(n1, n2)
38  endcase
39
40end
Note: See TracBrowser for help on using the repository browser.