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
|
Rev | Line | |
---|
[2] | 1 | ;------------------------------------------------------------ |
---|
| 2 | ;------------------------------------------------------------ |
---|
| 3 | ;------------------------------------------------------------ |
---|
| 4 | ;+ |
---|
[133] | 5 | ; @file_comments |
---|
| 6 | ; Send back a vector or a matrix constituate of 0 and 1 in alternation |
---|
[2] | 7 | ; |
---|
[133] | 8 | ; you better use zero_one |
---|
[2] | 9 | ; |
---|
[133] | 10 | ; @obsolete |
---|
[2] | 11 | ; |
---|
[133] | 12 | ; @categories function, matrixes |
---|
[2] | 13 | ; |
---|
[133] | 14 | ; @param n1 {in}{required} number of elements in the first dimension |
---|
| 15 | ; @param n2 {in}{required} numbre of elements in the second dimension |
---|
[2] | 16 | ; |
---|
[133] | 17 | ; @returns resultat |
---|
| 18 | ; |
---|
| 19 | ; @history Sebastien Masson (smasson@lodyc.jussieu.fr) |
---|
| 20 | ; 1/12/98 |
---|
[2] | 21 | ; |
---|
[133] | 22 | ; @version $Id$ |
---|
[2] | 23 | ; |
---|
| 24 | ;- |
---|
| 25 | ;------------------------------------------------------------ |
---|
| 26 | ;------------------------------------------------------------ |
---|
| 27 | ;------------------------------------------------------------ |
---|
| 28 | function zeroun, n1,n2 |
---|
[114] | 29 | ; |
---|
| 30 | compile_opt idl2, strictarrsubs |
---|
| 31 | ; |
---|
[133] | 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 | |
---|
[2] | 38 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.