Mercurial > hg > octave-nkf
changeset 11540:b0ef6f28e09a
deprecate krylovb function
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 15 Jan 2011 03:40:32 -0500 |
parents | 6bac61388876 |
children | 28bae9cd7ea9 |
files | ChangeLog NEWS scripts/ChangeLog scripts/deprecated/krylovb.m scripts/deprecated/module.mk scripts/linear-algebra/krylovb.m scripts/linear-algebra/module.mk |
diffstat | 6 files changed, 25 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-01-15 John W. Eaton <jwe@octave.org> + + * NEWS: Add krylovb to deprecated function list. + 2010-01-14 Rik <octave@nomad.inbox5.com> * NEWS: Add replot to deprecated function list.
--- a/NEWS +++ b/NEWS @@ -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: ---------------------------------------------------------
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,11 @@ +2011-01-15 John W. Eaton <jwe@octave.org> + + * 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 <octave@nomad.inbox5.com> * general/postpad.m, general/prepad.m: Improve docstring.
rename from scripts/linear-algebra/krylovb.m rename to scripts/deprecated/krylovb.m --- a/scripts/linear-algebra/krylovb.m +++ b/scripts/deprecated/krylovb.m @@ -21,8 +21,17 @@ ## 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);