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

Last change on this file since 134 was 134, checked in by navarro, 18 years ago

change *.pro file properties (del eof-style, del executable, set keywords Id

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