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
7428ea2c
Commit
7428ea2c
authored
May 16, 2013
by
Houtan Bastani
Browse files
reporting: @objArray: change numObjs to numObjArray to conform with other numClass methods
parent
f877620b
Changes
5
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@elements/numElements.m
View file @
7428ea2c
...
...
@@ -18,5 +18,5 @@ function n = numElements(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
.
objArray
.
numObj
s
();
n
=
o
.
objArray
.
numObj
Array
();
end
\ No newline at end of file
matlab/reports/@objArray/numObj
s
.m
→
matlab/reports/@objArray/numObj
Array
.m
View file @
7428ea2c
function
n
o
=
numObj
s
(
o
a
)
%function n
o
= numObj
s
(o
a
)
function
n
=
numObj
Array
(
o
)
%function n = numObj
Array
(o)
% Copyright (C) 2013 Dynare Team
%
...
...
@@ -18,5 +18,5 @@ function no = numObjs(oa)
% 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
=
size
(
o
a
.
objs
,
2
);
n
=
size
(
o
.
objs
,
2
);
end
\ No newline at end of file
matlab/reports/@pages/numPages.m
View file @
7428ea2c
function
n
=
numPages
(
o
)
% function n = numPages(o)
% Sections Class Constructor
%
% INPUTS
% o [page] pages object
...
...
@@ -28,5 +27,5 @@ function n = numPages(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
.
objArray
.
numObj
s
();
n
=
o
.
objArray
.
numObj
Array
();
end
\ No newline at end of file
matlab/reports/@sections/numSections.m
View file @
7428ea2c
function
n
s
=
numSections
(
ss
)
% function n
s
= numSections(
ss
)
function
n
=
numSections
(
o
)
% function n = numSections(
o
)
% Copyright (C) 2013 Dynare Team
%
...
...
@@ -18,5 +18,5 @@ function ns = numSections(ss)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
n
s
=
ss
.
objArray
.
numObj
s
();
n
=
o
.
objArray
.
numObj
Array
();
end
\ No newline at end of file
matlab/reports/@seriesElements/numElements.m
View file @
7428ea2c
...
...
@@ -18,5 +18,5 @@ function n = numElements(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
.
objArray
.
numObj
s
();
n
=
o
.
objArray
.
numObj
Array
();
end
\ No newline at end of file
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