# HG changeset patch # User John W. Eaton # Date 1295080832 18000 # Node ID b0ef6f28e09aa4b2180a204b3ad70d7224320151 # Parent 6bac61388876adaaa1f7217647dbf7b044167c30 deprecate krylovb function diff -r 6bac61388876 -r b0ef6f28e09a ChangeLog --- a/ChangeLog Fri Jan 14 18:39:23 2011 -0800 +++ b/ChangeLog Sat Jan 15 03:40:32 2011 -0500 @@ -1,3 +1,7 @@ +2011-01-15 John W. Eaton + + * NEWS: Add krylovb to deprecated function list. + 2010-01-14 Rik * NEWS: Add replot to deprecated function list. diff -r 6bac61388876 -r b0ef6f28e09a NEWS --- a/NEWS Fri Jan 14 18:39:23 2011 -0800 +++ b/NEWS Sat Jan 15 03:40:32 2011 -0500 @@ -409,8 +409,9 @@ be removed from Octave 3.8 (or whatever version is the second major release after 3.4): - autocor betai dispatch gammai values - autocov cellidx fstat is_global replot + autocor cellidx gammai replot + autocov dispatch is_global values + betai fstat krylovb Summary of important user-visible changes for version 3.2: --------------------------------------------------------- diff -r 6bac61388876 -r b0ef6f28e09a scripts/ChangeLog --- a/scripts/ChangeLog Fri Jan 14 18:39:23 2011 -0800 +++ b/scripts/ChangeLog Sat Jan 15 03:40:32 2011 -0500 @@ -1,3 +1,11 @@ +2011-01-15 John W. Eaton + + * deprecated/krylovb: Move here from linear-algebra. + * deprecated/module.mk (deprecated_FCN_FILES): + Include krylovb.m in the list. + * linear-algebra/module.mk (linear_algebra_FCN_FILES): + Remove krylovb.m from the list. + 2011-01-14 Rik * general/postpad.m, general/prepad.m: Improve docstring. diff -r 6bac61388876 -r b0ef6f28e09a scripts/deprecated/krylovb.m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/deprecated/krylovb.m Sat Jan 15 03:40:32 2011 -0500 @@ -0,0 +1,46 @@ +## Copyright (C) 1993-2011 A. Scottedward Hodel +## +## 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 +## . + +## -*- texinfo -*- +## @deftypefn {Function File} {[@var{u}, @var{ucols}] =} krylovb (@var{A}, @var{V}, @var{k}, @var{eps1}, @var{pflg}) +## See @code{krylov}. +## @end deftypefn + +## Deprecated in version 3.4 + +function [Uret, Ucols] = krylovb (A, V, k, eps1, pflg) + + persistent warned = false; + if (! warned) + warned = true; + warning ("Octave:deprecated-function", + "krylovb is obsolete and will be removed from a future version of Octave; please use [Uret, ~, Ucols] = krylov (...) instead"); + endif + + switch (nargin) + case (3) + [Uret, H, Ucols] = krylov (A, V, k); + case (4) + [Uret, H, Ucols] = krylov (A, V, k, eps1); + case (5) + [Uret, H, Ucols] = krylov (A, V, k, eps1, pflg); + otherwise + print_usage (); + endswitch + +endfunction diff -r 6bac61388876 -r b0ef6f28e09a scripts/deprecated/module.mk --- a/scripts/deprecated/module.mk Fri Jan 14 18:39:23 2011 -0800 +++ b/scripts/deprecated/module.mk Sat Jan 15 03:40:32 2011 -0500 @@ -19,6 +19,7 @@ deprecated/isstr.m \ deprecated/lchol.m \ deprecated/loadimage.m \ + deprecated/krylovb.m \ deprecated/mark_as_command.m \ deprecated/mark_as_rawcommand.m \ deprecated/replot.m \ diff -r 6bac61388876 -r b0ef6f28e09a scripts/linear-algebra/krylovb.m --- a/scripts/linear-algebra/krylovb.m Fri Jan 14 18:39:23 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -## Copyright (C) 1993-2011 A. Scottedward Hodel -## -## 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 -## . - -## -*- texinfo -*- -## @deftypefn {Function File} {[@var{u}, @var{ucols}] =} krylovb (@var{A}, @var{V}, @var{k}, @var{eps1}, @var{pflg}) -## See @code{krylov}. -## @end deftypefn - -function [Uret, Ucols] = krylovb (A, V, k, eps1, pflg) - - switch (nargin) - case (3) - [Uret, H, Ucols] = krylov (A, V, k); - case (4) - [Uret, H, Ucols] = krylov (A, V, k, eps1); - case (5) - [Uret, H, Ucols] = krylov (A, V, k, eps1, pflg); - otherwise - print_usage (); - endswitch - -endfunction diff -r 6bac61388876 -r b0ef6f28e09a scripts/linear-algebra/module.mk --- a/scripts/linear-algebra/module.mk Fri Jan 14 18:39:23 2011 -0800 +++ b/scripts/linear-algebra/module.mk Sat Jan 15 03:40:32 2011 -0500 @@ -12,7 +12,6 @@ linear-algebra/ishermitian.m \ linear-algebra/issymmetric.m \ linear-algebra/krylov.m \ - linear-algebra/krylovb.m \ linear-algebra/logm.m \ linear-algebra/normest.m \ linear-algebra/null.m \