1function resu = reshape(df, varargin) 2 %# function resu = reshape(df, varargin) 3 4 %% Copyright (C) 2009-2017 Pascal Dupuis <cdemills@gmail.com> 5 %% 6 %% This file is part of the dataframe package for Octave. 7 %% 8 %% This package is free software; you can redistribute it and/or 9 %% modify it under the terms of the GNU General Public 10 %% License as published by the Free Software Foundation; 11 %% either version 3, or (at your option) any later version. 12 %% 13 %% This package is distributed in the hope that it will be useful, 14 %% but WITHOUT ANY WARRANTY; without even the implied 15 %% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 16 %% PURPOSE. See the GNU General Public License for more 17 %% details. 18 %% 19 %% You should have received a copy of the GNU General Public 20 %% License along with this package; see the file COPYING. If not, 21 %% see <http://www.gnu.org/licenses/>. 22 23 dummy = horzcat (varargin{:}); 24 if (any (dummy ~= df.x_cnt)), 25 error ('Function not yet implemented on dataframe'); 26 else 27 resu = df; %# blank operation 28 end 29 30end 31