From: <cde...@us...> - 2010-11-23 10:51:12
|
Revision: 7940 http://octave.svn.sourceforge.net/octave/?rev=7940&view=rev Author: cdemills Date: 2010-11-23 10:51:03 +0000 (Tue, 23 Nov 2010) Log Message: ----------- Added basic mapper functions like sin - cos - sqrt - ... Modified Paths: -------------- trunk/octave-forge/extra/dataframe/inst/@dataframe/cat.m trunk/octave-forge/extra/dataframe/inst/@dataframe/subsref.m trunk/octave-forge/extra/dataframe/inst/@dataframe/sum.m Added Paths: ----------- trunk/octave-forge/extra/dataframe/inst/@dataframe/abs.m trunk/octave-forge/extra/dataframe/inst/@dataframe/acos.m trunk/octave-forge/extra/dataframe/inst/@dataframe/acosh.m trunk/octave-forge/extra/dataframe/inst/@dataframe/angle.m trunk/octave-forge/extra/dataframe/inst/@dataframe/arg.m trunk/octave-forge/extra/dataframe/inst/@dataframe/asin.m trunk/octave-forge/extra/dataframe/inst/@dataframe/asinh.m trunk/octave-forge/extra/dataframe/inst/@dataframe/atan.m trunk/octave-forge/extra/dataframe/inst/@dataframe/atanh.m trunk/octave-forge/extra/dataframe/inst/@dataframe/ceil.m trunk/octave-forge/extra/dataframe/inst/@dataframe/conj.m trunk/octave-forge/extra/dataframe/inst/@dataframe/cos.m trunk/octave-forge/extra/dataframe/inst/@dataframe/cosh.m trunk/octave-forge/extra/dataframe/inst/@dataframe/erf.m trunk/octave-forge/extra/dataframe/inst/@dataframe/erfc.m trunk/octave-forge/extra/dataframe/inst/@dataframe/erfcx.m trunk/octave-forge/extra/dataframe/inst/@dataframe/erfinv.m trunk/octave-forge/extra/dataframe/inst/@dataframe/exp.m trunk/octave-forge/extra/dataframe/inst/@dataframe/expm1.m trunk/octave-forge/extra/dataframe/inst/@dataframe/finite.m trunk/octave-forge/extra/dataframe/inst/@dataframe/fix.m trunk/octave-forge/extra/dataframe/inst/@dataframe/floor.m trunk/octave-forge/extra/dataframe/inst/@dataframe/gamma.m trunk/octave-forge/extra/dataframe/inst/@dataframe/imag.m trunk/octave-forge/extra/dataframe/inst/@dataframe/isinf.m trunk/octave-forge/extra/dataframe/inst/@dataframe/isna.m trunk/octave-forge/extra/dataframe/inst/@dataframe/isnan.m trunk/octave-forge/extra/dataframe/inst/@dataframe/lgamma.m trunk/octave-forge/extra/dataframe/inst/@dataframe/log.m trunk/octave-forge/extra/dataframe/inst/@dataframe/log10.m trunk/octave-forge/extra/dataframe/inst/@dataframe/log1p.m trunk/octave-forge/extra/dataframe/inst/@dataframe/log2.m trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_mapper.m trunk/octave-forge/extra/dataframe/inst/@dataframe/real.m trunk/octave-forge/extra/dataframe/inst/@dataframe/round.m trunk/octave-forge/extra/dataframe/inst/@dataframe/roundb.m trunk/octave-forge/extra/dataframe/inst/@dataframe/signum.m trunk/octave-forge/extra/dataframe/inst/@dataframe/sin.m trunk/octave-forge/extra/dataframe/inst/@dataframe/sinh.m trunk/octave-forge/extra/dataframe/inst/@dataframe/sort.m trunk/octave-forge/extra/dataframe/inst/@dataframe/sqrt.m trunk/octave-forge/extra/dataframe/inst/@dataframe/sumsq.m trunk/octave-forge/extra/dataframe/inst/@dataframe/tan.m trunk/octave-forge/extra/dataframe/inst/@dataframe/tanh.m Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/abs.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/abs.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/abs.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = abs(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@abs, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/abs.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/acos.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/acos.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/acos.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = acos(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@acos, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/acos.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/acosh.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/acosh.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/acosh.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = acosh(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@acosh, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/acosh.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/angle.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/angle.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/angle.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = angle(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@angle, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/angle.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/arg.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/arg.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/arg.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = arg(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@arg, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/arg.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/asin.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/asin.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/asin.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = asin(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@asin, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/asin.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/asinh.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/asinh.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/asinh.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = asinh(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@asinh, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/asinh.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/atan.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/atan.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/atan.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = atan(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@atan, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/atan.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/atanh.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/atanh.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/atanh.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = atanh(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@atanh, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/atanh.m ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/octave-forge/extra/dataframe/inst/@dataframe/cat.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/cat.m 2010-11-22 20:12:51 UTC (rev 7939) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/cat.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -63,7 +63,7 @@ indb = logical(ones(1, resu._cnt(2))); indi = 1; while indi <= resu._cnt(2), - indj = strmatch(resu._name{2}(indi), B. _name{2}); + indj = strmatch(resu._name{2}(indi), B. _name{2}, 'exact'); if ~isempty(indj), indj = indj(1); if ~strcmp(resu._type{indi}, B._type{indj}), @@ -134,7 +134,7 @@ indb = logical(ones(1, resu._cnt(2))); indi = 1; while indi <= resu._cnt(2), - indj = strmatch(resu._name{2}(indi), B. _name{2}); + indj = strmatch(resu._name{2}(indi), B. _name{2}, 'exact'); if ~isempty(indj), indj = indj(1); if ~strcmp(resu._type{indi}, B._type{indj}), Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/ceil.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/ceil.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/ceil.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = ceil(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@ceil, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/ceil.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/conj.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/conj.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/conj.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = conj(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@conj, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/conj.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/cos.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/cos.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/cos.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = cos(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@cos, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/cos.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/cosh.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/cosh.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/cosh.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = cosh(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@cosh, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/cosh.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/erf.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/erf.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/erf.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = erf(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@erf, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/erf.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/erfc.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/erfc.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/erfc.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = erfc(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@erfc, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/erfc.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/erfcx.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/erfcx.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/erfcx.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = erfcx(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@erfcx, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/erfcx.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/erfinv.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/erfinv.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/erfinv.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = erfinv(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@erfinv, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/erfinv.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/exp.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/exp.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/exp.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = exp(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@exp, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/exp.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/expm1.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/expm1.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/expm1.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = expm1(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@expm1, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/expm1.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/finite.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/finite.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/finite.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = finite(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@finite, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/finite.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/fix.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/fix.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/fix.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = fix(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@fix, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/fix.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/floor.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/floor.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/floor.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = floor(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@floor, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/floor.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/gamma.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/gamma.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/gamma.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = gamma(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@gamma, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/gamma.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/imag.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/imag.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/imag.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = imag(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@imag, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/imag.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/isinf.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/isinf.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/isinf.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = isinf(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@isinf, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/isinf.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/isna.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/isna.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/isna.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = isna(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@isna, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/isna.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/isnan.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/isnan.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/isnan.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = isnan(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@isnan, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/isnan.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/lgamma.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/lgamma.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/lgamma.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = lgamma(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@lgamma, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/lgamma.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/log.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/log.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/log.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = log(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@log, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/log.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/log10.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/log10.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/log10.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = log10(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@log10, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/log10.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/log1p.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/log1p.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/log1p.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = log1p(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@log1p, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/log1p.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/log2.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/log2.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/log2.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = log2(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@log2, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/log2.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_mapper.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_mapper.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_mapper.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,34 @@ +function resu = df_mapper(func, df, varargin) + %# resu = df_mapper(func, df) + %# small interface to iterate some func over the elements of a dataframe. + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df; + for indi = resu._cnt(2):-1:1, + resu._data{indi} = feval(func, resu._data{indi}, varargin{:}); + endfor + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/private/df_mapper.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/real.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/real.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/real.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = real(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@real, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/real.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/round.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/round.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/round.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = round(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@round, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/round.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/roundb.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/roundb.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/roundb.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = roundb(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@roundb, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/roundb.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/signum.m =================================================================== --- trunk/octave-forge/extra/dataframe/inst/@dataframe/signum.m (rev 0) +++ trunk/octave-forge/extra/dataframe/inst/@dataframe/signum.m 2010-11-23 10:51:03 UTC (rev 7940) @@ -0,0 +1,29 @@ +function resu = signum(df, varargin) + + %% Copyright (C) 2009-2010 Pascal Dupuis <Pas...@uc...> + %% + %% 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 2, 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, + %% write to the Free Software Foundation, 59 Temple Place - + %% Suite 330, Boston, MA 02111-1307, USA. + + %# + %# $Id$ + %# + + resu = df_mapper(@signum, df, varargin{:}); + +endfunction Property changes on: trunk/octave-forge/extra/dataframe/inst/@dataframe/signum.m ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/octave-forge/extra/dataframe/inst/@dataframe/sin.m =================================================================== --- trunk/... [truncated message content] |