changeset 9590:10592d0447cb octave-forge

apply: note on help text about being deprecated and possible replacements
author carandraug
date Thu, 08 Mar 2012 12:52:11 +0000
parents 3a4a8c3be21d
children ffbdf59b8bbd
files main/miscellaneous/inst/apply.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/miscellaneous/inst/apply.m	Wed Mar 07 19:35:08 2012 +0000
+++ b/main/miscellaneous/inst/apply.m	Thu Mar 08 12:52:11 2012 +0000
@@ -26,6 +26,10 @@
 ## @var{function_handle}(arg1, arg2, ... ,argn), where the arguments are 
 ## extracted from each elements of the 1-row cell array @var{cell_array_of_args}. 
 ##
+## @emph{warning}: @code{apply} has been deprecated in favor of @code{arrayfun}
+## and @code{cellfun} for arrays and cells respectively. This function will be
+## removed from future versions of the 'miscellaneous' package".
+##
 ## Apply also works on array of function handles if
 ## @var{function_handle} is passed as a cell array of a handles; in this
 ## case apply, evaluates each function (using the handle) with the same