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

Last change on this file since 261 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
RevLine 
[2]1;+
[231]2;
3; @file_comments
[133]4; Send back a vector or a matrix constituate of 0 and 1 in alternation
[2]5;
[231]6; you better use <pro>zero_one</pro>
[2]7;
[133]8; @obsolete
[2]9;
[231]10; @categories
[157]11; Function, Matrix
[2]12;
[231]13; @param n1 {in}{required}
14; number of elements in the first dimension
[2]15;
[231]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)
[133]24;                       1/12/98
[2]25;
[231]26; @version
27; $Id$
[2]28;
29;-
[114]30;
[231]31FUNCTION zeroun, n1,n2
32;
[114]33  compile_opt idl2, strictarrsubs
34;
[133]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
[2]41end
Note: See TracBrowser for help on using the repository browser.