Mercurial > hg > octave-nkf
comparison scripts/general/is_square.m @ 904:3470f1e25a79
[project @ 1994-11-09 21:22:15 by jwe]
author | jwe |
---|---|
date | Wed, 09 Nov 1994 21:22:15 +0000 |
parents | 16a24e76d6e0 |
children | 3f257ab07921 |
comparison
equal
deleted
inserted
replaced
903:b3692d63cca3 | 904:3470f1e25a79 |
---|---|
1 # Copyright (C) 1993 John W. Eaton | 1 # Copyright (C) 1993, 1994 John W. Eaton |
2 # | 2 # |
3 # This file is part of Octave. | 3 # This file is part of Octave. |
4 # | 4 # |
5 # Octave is free software; you can redistribute it and/or modify it | 5 # Octave is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License as published by the | 6 # under the terms of the GNU General Public License as published by the |
33 retval = nr; | 33 retval = nr; |
34 else | 34 else |
35 retval = 0; | 35 retval = 0; |
36 endif | 36 endif |
37 else | 37 else |
38 error ("usage: is_square (x)"); | 38 usage ("is_square (x)"); |
39 endif | 39 endif |
40 | 40 |
41 endfunction | 41 endfunction |