reporting: numel -> numElements, numPages

time-shift
Houtan Bastani 2013-03-29 10:10:29 +01:00
parent 26a14fe9d9
commit 077f98445b
7 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
function n = numel(o)
% function n = numel(o)
function n = numElements(o)
% function n = numElements(o)
% Copyright (C) 2013 Dynare Team
%

View File

@ -42,7 +42,7 @@ if o.grid
set(gca, 'GridLineStyle', '--');
end
ne = o.seriesElements.numel();
ne = o.seriesElements.numElements();
dd = dynDates();
for i=1:ne
ddt = o.seriesElements(i).getLine(o.xrange);

View File

@ -1,5 +1,5 @@
function n = numel(o)
% function n = numel(o)
function n = numPages(o)
% function n = numPages(o)
% Sections Class Constructor
%
% INPUTS

View File

@ -31,7 +31,7 @@ function o = write(o, fid)
assert(fid ~= -1);
fprintf(fid, '\n%% Pages Object\n');
nps = numel(o);
nps = numPages(o);
for i=1:nps
o.objArray(i).write(fid);
end

View File

@ -1,5 +1,5 @@
function n = numel(o)
% function n = numel(o)
function n = numElements(o)
% function n = numElements(o)
% Copyright (C) 2013 Dynare Team
%
@ -18,5 +18,5 @@ function n = numel(o)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
n = o.elements.numel();
n = o.elements.numElements();
end

View File

@ -37,7 +37,7 @@ for i=1:o.cols
fprintf(fid, 'c');
end
fprintf(fid, '}\n');
ne = numel(o);
ne = numElements(o);
nvspace = numVspace(o);
nlcounter = 0;
for i=1:ne

View File

@ -1,5 +1,5 @@
function n = numel(o)
% function n = numel(o)
function n = numElements(o)
% function n = numElements(o)
% Copyright (C) 2013 Dynare Team
%