Mercurial > hg > octave-lyh
changeset 11534:199543df2ece
Delete unimplemented, now obsolete Matlab-compatability function flops.m
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Fri, 14 Jan 2011 14:33:15 -0800 |
parents | 06c80c90a246 |
children | 440a6b54e6f1 |
files | scripts/ChangeLog scripts/miscellaneous/flops.m scripts/miscellaneous/module.mk |
diffstat | 3 files changed, 5 insertions(+), 38 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2011-01-14 Rik <octave@nomad.inbox5.com> + + * miscellaneous/flops.m: Delete function which was unimplemented + in Octave and has been removed from Matlab since version 5. + 2011-01-14 Rik <octave@nomad.inbox5.com> * specfun/nthroot.m: Add Seealso references to docstring.
deleted file mode 100644 --- a/scripts/miscellaneous/flops.m +++ /dev/null @@ -1,37 +0,0 @@ -## Copyright (C) 1996-2011 John W. Eaton -## -## This file is part of Octave. -## -## Octave is free software; you can redistribute it and/or modify it -## under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 3 of the License, or (at -## your option) any later version. -## -## Octave is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with Octave; see the file COPYING. If not, see -## <http://www.gnu.org/licenses/>. - -## -*- texinfo -*- -## @deftypefn {Function File} {} flops () -## This function is provided for @sc{matlab} compatibility, but it doesn't -## actually do anything. -## @end deftypefn - -## Author: jwe - -function retval = flops () - - if (nargin > 1) - print_usage (); - endif - - warning ("flops is a flop, always returning zero"); - - retval = 0; - -endfunction