Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
077f9844
Commit
077f9844
authored
Mar 29, 2013
by
Houtan Bastani
Browse files
reporting: numel -> numElements, numPages
parent
26a14fe9
Changes
7
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@elements/num
el
.m
→
matlab/reports/@elements/num
Elements
.m
View file @
077f9844
function
n
=
num
el
(
o
)
% function n = num
el
(o)
function
n
=
num
Elements
(
o
)
% function n = num
Elements
(o)
% Copyright (C) 2013 Dynare Team
%
...
...
matlab/reports/@graph/createGraph.m
View file @
077f9844
...
...
@@ -42,7 +42,7 @@ if o.grid
set
(
gca
,
'GridLineStyle'
,
'--'
);
end
ne
=
o
.
seriesElements
.
num
el
();
ne
=
o
.
seriesElements
.
num
Elements
();
dd
=
dynDates
();
for
i
=
1
:
ne
ddt
=
o
.
seriesElements
(
i
)
.
getLine
(
o
.
xrange
);
...
...
matlab/reports/@pages/num
el
.m
→
matlab/reports/@pages/num
Pages
.m
View file @
077f9844
function
n
=
num
el
(
o
)
% function n = num
el
(o)
function
n
=
num
Pages
(
o
)
% function n = num
Pages
(o)
% Sections Class Constructor
%
% INPUTS
...
...
matlab/reports/@pages/write.m
View file @
077f9844
...
...
@@ -31,7 +31,7 @@ function o = write(o, fid)
assert
(
fid
~=
-
1
);
fprintf
(
fid
,
'\n%% Pages Object\n'
);
nps
=
num
el
(
o
);
nps
=
num
Pages
(
o
);
for
i
=
1
:
nps
o
.
objArray
(
i
)
.
write
(
fid
);
end
...
...
matlab/reports/@section/num
el
.m
→
matlab/reports/@section/num
Elements
.m
View file @
077f9844
function
n
=
num
el
(
o
)
% function n = num
el
(o)
function
n
=
num
Elements
(
o
)
% function n = num
Elements
(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
.
num
el
();
n
=
o
.
elements
.
num
Elements
();
end
\ No newline at end of file
matlab/reports/@section/write.m
View file @
077f9844
...
...
@@ -37,7 +37,7 @@ for i=1:o.cols
fprintf
(
fid
,
'c'
);
end
fprintf
(
fid
,
'}\n'
);
ne
=
num
el
(
o
);
ne
=
num
Elements
(
o
);
nvspace
=
numVspace
(
o
);
nlcounter
=
0
;
for
i
=
1
:
ne
...
...
matlab/reports/@seriesElements/num
el
.m
→
matlab/reports/@seriesElements/num
Elements
.m
View file @
077f9844
function
n
=
num
el
(
o
)
% function n = num
el
(o)
function
n
=
num
Elements
(
o
)
% function n = num
Elements
(o)
% Copyright (C) 2013 Dynare Team
%
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment