Skip to content
Snippets Groups Projects
Commit 258acc58 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: numel -> numElements, numPages

parent 1b25e970
Branches
Tags
No related merge requests found
function n = numel(o)
% function n = numel(o)
function n = numElements(o)
% function n = numElements(o)
% Copyright (C) 2013 Dynare Team
%
......
......@@ -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);
......
function n = numel(o)
% function n = numel(o)
function n = numPages(o)
% function n = numPages(o)
% Sections Class Constructor
%
% INPUTS
......
......@@ -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
......
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
\ No newline at end of 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
......
function n = numel(o)
% function n = numel(o)
function n = numElements(o)
% function n = numElements(o)
% Copyright (C) 2013 Dynare Team
%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment