capitalize Cepremap and Matlab, uncapitalize DYNARE

parent 982d6b9d
......@@ -190,7 +190,7 @@ fixed in version 4.5.4:
- Estimation with missing values was crashing if the `prefilter` option was used.
- Added a workaround for a difference in behaviour between Octave and Matlab regarding the creation
- Added a workaround for a difference in behaviour between Octave and MATLAB regarding the creation
of function handles for functions that do not exist in the path. With Octave 4.2.1, steady state
files did not work if no auxiliary variables were created.
......@@ -315,7 +315,7 @@ fixed in version 4.5.2:
- Fixed crash with optimizer 5 when not used with DSGE model at order 1.
- Fixed mex file used for third order approximation (was crashing on
Matlab/Windows 7).
MATLAB/Windows 7).
......@@ -658,7 +658,7 @@ Here is the list of major user-visible changes:
- Command line
+ New option `onlyclearglobals` (do not clear JIT compiled functions
with recent versions of Matlab),
with recent versions of MATLAB),
+ New option `minimal_workspace` to use fewer variables in the
current workspace,
......@@ -689,7 +689,7 @@ Here is the list of major user-visible changes:
+ `mode_compute=101` Uses SOLVEOPT as described by Kuntsevich and
Kappel (1997),
+ `mode_compute=102` Uses `simulannealbnd` from Matlab's Global
+ `mode_compute=102` Uses `simulannealbnd` from MATLAB's Global
Optimization Toolbox (if available),
+ New option `silent_optimizer` to shut off output from mode
......@@ -724,7 +724,7 @@ Here is the list of major user-visible changes:
+ Introduces new path management to avoid conflicts with other
toolboxes,
+ Full compatibility with Matlab 2014b's new graphic interface,
+ Full compatibility with MATLAB 2014b's new graphic interface,
+ When using `model(linear)`, Dynare automatically checks
whether the model is truly linear,
......@@ -924,7 +924,7 @@ Here is the list of major user-visible changes:
was not consistent with the reference manual,
+ When the initialization of an MCMC run failed, the metropolis.log file was
locked, requiring a restart of Matlab to restart estimation,
locked, requiring a restart of MATLAB to restart estimation,
+ If the posterior mode was right at the corner of the prior bounds, the
initialization of the MCMC erroneously crashed,
......@@ -1140,7 +1140,7 @@ Here is the list of major user-visible changes:
- A bug when external functions were used in model local variables
that were contained in equations that required auxiliary
variable/equations led to crashes of Matlab.
variable/equations led to crashes of MATLAB.
- Sampling from the prior distribution for an inverse gamma II
distribution when `prior_trunc>0` could result in incorrect
......
......@@ -79,7 +79,7 @@ p.footer {
</ul>
</div>
<h2>AIM Solver Subsystem<a name="1"></a></h2>
<p>The AIM subsystem in the AIM subdirectory of the main Dynare matlab directory contains Matlab functions necessary for using
<p>The AIM subsystem in the AIM subdirectory of the main Dynare matlab directory contains MATLAB functions necessary for using
Gary Anderson's AIM 1st order solver as an alternative to Dynare's default mjdgges solver (see <a href="http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html">http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html</a> ).
</p>
<p>It cosists of:</p>
......@@ -92,7 +92,7 @@ p.footer {
</div>
<div>
<ul>
<li>A subset of Matlab routines from Gary Anderson's own AIM package needed to compute and solve system passed on and returned
<li>A subset of MATLAB routines from Gary Anderson's own AIM package needed to compute and solve system passed on and returned
by dynAIMsolver1 whose names start with SP.. of which <b>SPAmalg.m</b> is the main driver:
</li>
</ul>
......@@ -215,7 +215,7 @@ p.footer {
can produce ~ one order closer results to the Dynare solutiion
then when if plain jacobia_ is passed,
i.e. diff &lt; e-14 for aa and diff &lt; *e-13 for jacobia_ if Q' is used.</pre><p>GP July 2008</p>
<p>part of DYNARE, copyright Dynare Team (1996-2008) Gnu Public License.</p>
<p>part of Dynare, copyright Dynare Team (1996-2008) Gnu Public License.</p>
<p class="footer"><br>
Published with MATLAB&reg; 7.1<br></p>
</div>
......@@ -225,7 +225,7 @@ p.footer {
%% AIM Solver Subsystem
% The AIM subsystem in the AIM subdirectory of the main Dynare matlab
% directory contains Matlab functions necessary for using
% directory contains MATLAB functions necessary for using
% Gary Anderson's AIM 1st order solver as an alternative to Dynare's default mjdgges solver (see http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html ).
%
% It cosists of:
......@@ -236,7 +236,7 @@ p.footer {
% gu=dr.hgu from the AIM outputs. ("1" in the title is for 1st order
% solver).
%
% * A subset of Matlab routines from Gary Anderson's own AIM package needed to compute
% * A subset of MATLAB routines from Gary Anderson's own AIM package needed to compute
% and solve system passed on and returned by dynAIMsolver1 whose names start with SP..
% of which *SPAmalg.m* is the main driver:
%
......@@ -394,10 +394,10 @@ p.footer {
%
% GP July 2008
%
% part of DYNARE, copyright Dynare Team (1996-2008)
% part of Dynare, copyright Dynare Team (1996-2008)
% Gnu Public License.
##### SOURCE END #####
-->
</body>
</html>
\ No newline at end of file
</html>
......@@ -111,7 +111,7 @@ demia/Economics/Dynare%20DSGE/V4/doc/AIM/Dynare%20AIM%20use%20Doc.html#11=
<H2>AIM Solver Subsystem<A name=3D1></A></H2>
<P>The AIM subsystem in the AIM subdirectory of the main Dynare matlab =
directory=20
contains Matlab functions necessary for using Gary Anderson's AIM 1st =
contains MATLAB functions necessary for using Gary Anderson's AIM 1st =
order=20
solver as an alternative to Dynare's default mjdgges solver (see <A=20
href=3D"http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html">http:/=
......@@ -129,7 +129,7 @@ AIM outputs.=20
("1" in the title is for 1st order solver). </LI></UL></DIV>
<DIV>
<UL>
<LI>A subset of Matlab routines from Gary Anderson's own AIM package =
<LI>A subset of MATLAB routines from Gary Anderson's own AIM package =
needed to=20
compute and solve system passed on and returned by dynAIMsolver1 whose =
names=20
......@@ -328,7 +328,7 @@ forward looking models, passing into dynAIMsolver aa =3D{Q'|1}*jacobia_
i.e. diff &lt; e-14 for aa and diff &lt; *e-13 for jacobia_ if Q' =
is used.</PRE>
<P>GP July 2008</P>
<P>part of DYNARE, copyright Dynare Team (1996-2008) Gnu Public =
<P>part of Dynare, copyright Dynare Team (1996-2008) Gnu Public =
License.</P>
<P class=3Dfooter><BR>Published with MATLAB=C2=AE 7.1<BR></P></DIV><!--=0A=
##### SOURCE BEGIN #####=0A=
......@@ -336,7 +336,7 @@ License.</P>
%% AIM Solver Subsystem
% The AIM subsystem in the AIM subdirectory of the main Dynare matlab
% directory contains Matlab functions necessary for using
% directory contains MATLAB functions necessary for using
% Gary Anderson's AIM 1st order solver as an alternative to Dynare's =
default mjdgges solver (see =
http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html ).=20
......@@ -351,7 +351,7 @@ subsystem.=20
% gu=3Ddr.hgu from the AIM outputs. ("1" in the title is for 1st order
% solver).
%
% * A subset of Matlab routines from Gary Anderson's own AIM package =
% * A subset of MATLAB routines from Gary Anderson's own AIM package =
needed to compute
% and solve system passed on and returned by dynAIMsolver1 whose names =
start with SP..=20
......@@ -544,7 +544,7 @@ used. =20
%
% GP July 2008 =20
%
% part of DYNARE, copyright Dynare Team (1996-2008)
% part of Dynare, copyright Dynare Team (1996-2008)
% Gnu Public License.
=0A=
##### SOURCE END #####=0A=
......
......@@ -30,7 +30,7 @@
\subsection*{AIM Solver Subsystem}
\begin{par}
The AIM subsystem in the AIM subdirectory of the main Dynare matlab directory contains Matlab functions necessary for using Gary Anderson's AIM 1st order solver as an alternative to Dynare's default mjdgges solver (see \begin{verbatim}http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html\end{verbatim} ).
The AIM subsystem in the AIM subdirectory of the main Dynare matlab directory contains MATLAB functions necessary for using Gary Anderson's AIM 1st order solver as an alternative to Dynare's default mjdgges solver (see \begin{verbatim}http://www.federalreserve.gov/Pubs/oss/oss4/aimindex.html\end{verbatim} ).
\end{par} \vspace{1em}
\begin{par}
It cosists of:
......@@ -41,7 +41,7 @@ It cosists of:
\end{itemize}
\begin{itemize}
\setlength{\itemsep}{-1ex}
\item A subset of Matlab routines from Gary Anderson's own AIM package needed to compute and solve system passed on and returned by dynAIMsolver1 whose names start with SP.. of which \textbf{SPAmalg.m} is the main driver:
\item A subset of MATLAB routines from Gary Anderson's own AIM package needed to compute and solve system passed on and returned by dynAIMsolver1 whose names start with SP.. of which \textbf{SPAmalg.m} is the main driver:
\end{itemize}
\begin{itemize}
\setlength{\itemsep}{-1ex}
......@@ -235,7 +235,7 @@ Dynare use:
GP July 2008
\end{par} \vspace{1em}
\begin{par}
part of DYNARE, copyright Dynare Team (1996-2008) Gnu Public License.
part of Dynare, copyright Dynare Team (1996-2008) Gnu Public License.
\end{par} \vspace{1em}
......
......@@ -68,9 +68,9 @@
\myitem Compatible with all setups that are supported by Dynare
\begin{itemize}
\myitem Windows, Mac OS X, Linux
\myitem Matlab 7.5 (R2007b) or later, Octave
\myitem MATLAB 7.5 (R2007b) or later, Octave
\end{itemize}
\myitem Must run \texttt{dynare} or \texttt{dynare\_config} at least once in the current Matlab/Octave session before use
\myitem Must run \texttt{dynare} or \texttt{dynare\_config} at least once in the current MATLAB/Octave session before use
\myitem More complete information is included in the Dynare manual
\end{itemize}
\end{frame}
......@@ -80,7 +80,7 @@
\begin{frame}[fragile,t]
\frametitle{A Programming Note (1/3)}
\begin{itemize}
\myitem Time series and dates (and reporting) are implemented as Matlab/Octave classes
\myitem Time series and dates (and reporting) are implemented as MATLAB/Octave classes
\myitem Inplace modification of instantiated objects not supported. Let me explain \dots
\begin{itemize}
\myitem A class is a template for defining objects, defining their member
......@@ -115,7 +115,7 @@ X =
\frametitle{A Programming Note (2/3)}
\begin{itemize}
\item[] \begin{itemize}
\myitem But! For Matlab/Octave's implementation of classes this is not the
\myitem But! For MATLAB/Octave's implementation of classes this is not the
case as it does not support inplace modification
\begin{verbatim}
>> X.multiplyByTwo()
......@@ -183,7 +183,7 @@ X =
\begin{frame}[fragile,t]
\frametitle{Creating a new \texttt{dates} object in Matlab/Octave}
\frametitle{Creating a new \texttt{dates} object in MATLAB/Octave}
\begin{itemize}
\myitem{A single date}
\begin{alltt}
......@@ -429,7 +429,7 @@ would be transformed into
\begin{frame}[fragile,t]
\frametitle{Creating a new \texttt{dseries} object (2/2)}
Load series from CSV/spreadsheet (\texttt{.csv, .xls}) or Matlab file (\texttt{.m, .mat})
Load series from CSV/spreadsheet (\texttt{.csv, .xls}) or MATLAB file (\texttt{.m, .mat})
\begin{itemize}
\myitem Syntax:
\begin{alltt}
......@@ -646,7 +646,7 @@ the time range of \verb+vs+ will be the union of \verb+ts.dates+ and
\begin{itemize}
\myitem You can easily modify the Ti$k$Z graph if the option you want is not in Dynare
\end{itemize}
\myitem Works with Matlab \& Octave
\myitem Works with MATLAB \& Octave
\myitem Works much faster than similar softawre
\myitem NB: Must install a \LaTeX\ distribution to compile reports
\begin{itemize}
......
......@@ -203,18 +203,18 @@ institutions who cannot afford, or do not want to pay for, MATLAB and
are willing to bear the concomitant performance loss.
The development of Dynare is mainly done at
@uref{http://www.cepremap.ens.fr, Cepremap} by a core team of
@uref{http://www.cepremap.ens.fr, CEPREMAP} by a core team of
researchers who devote part of their time to software
development. Currently the development team of Dynare is composed of
Stéphane Adjemian (Université du Maine, Gains and Cepremap), Houtan
Bastani (Cepremap), Michel Juillard (Banque de France), Frédéric
Karamé (Université d'Évry, Epee and Cepremap), Junior Maih (Norges
Bank), Ferhat Mihoubi (Université d'Évry, Epee and Cepremap), George
Perendia, Marco Ratto (JRC) and Sébastien Villemot (Cepremap and Paris
School of Economics). Financial support is provided by Cepremap,
Stéphane Adjemian (Université du Maine, Gains and CEPREMAP), Houtan
Bastani (CEPREMAP), Michel Juillard (Banque de France), Frédéric
Karamé (Université d'Évry, Epee and CEPREMAP), Junior Maih (Norges
Bank), Ferhat Mihoubi (Université d'Évry, Epee and CEPREMAP), George
Perendia, Marco Ratto (JRC) and Sébastien Villemot (CEPREMAP and Paris
School of Economics). Financial support is provided by CEPREMAP,
Banque de France and DSGE-net (an international research network for
DSGE modeling). Increasingly, the developer base is expanding, as
tools developed by researchers outside of Cepremap are integrated into
tools developed by researchers outside of CEPREMAP are integrated into
Dynare.
Interaction between developers and users of Dynare is central to the
......
......@@ -55,9 +55,9 @@ Dynare misc commands
.. matcomm:: internals FLAG ROUTINENAME[.m]|MODFILENAME
|br| Depending on the value of ``FLAG``, the ``internals`` command
can be used to run unitary tests specific to a Matlab/Octave
can be used to run unitary tests specific to a MATLAB/Octave
routine (if available), to display documentation about a
Matlab/Octave routine, or to extract some informations about the
MATLAB/Octave routine, or to extract some informations about the
state of Dynare.
*Flags*
......@@ -93,7 +93,7 @@ Dynare misc commands
>> internals --doc ../matlab/fr/ROUTINENAME
At this time, will work properly for only a small number
of routines. At the top of the (available) Matlab/Octave
of routines. At the top of the (available) MATLAB/Octave
routines a commented block for the internal documentation
is written in the GNU texinfo documentation format. This
block is processed by calling texinfo from
......@@ -114,7 +114,7 @@ Dynare misc commands
``--load-mh-history``
|br| Loads into the Matlab/Octaves workspace informations
|br| Loads into the MATLAB/Octaves workspace informations
about the previously saved MCMC draws generated by a ``.mod``
file named MODFILENAME.
......
......@@ -67,7 +67,7 @@ be under ``/usr/share/doc/dynare-doc``.
On macOS
--------
To install Dynare for use with Matlab, execute the automated installer
To install Dynare for use with MATLAB, execute the automated installer
called ``dynare-4.x.y.pkg`` (where *4.x.y* is the version number), and
follow the instructions. The default installation directory is
``/Applications/Dynare/4.x.y`` (please refer to the `Dynare wiki`_ for
......
......@@ -63,15 +63,15 @@ to bear the concomitant performance loss.
The development of Dynare is mainly done at `CEPREMAP`_ by a core team
of researchers who devote part of their time to software
development. Currently the development team of Dynare is composed of
Stéphane Adjemian (Université du Maine, Gains and Cepremap), Houtan
Bastani (Cepremap), Michel Juillard (Banque de France), Frédéric
Karamé (Université du Maine, Gains and Cepremap), Junior Maih (Norges
Stéphane Adjemian (Université du Maine, Gains and CEPREMAP), Houtan
Bastani (CEPREMAP), Michel Juillard (Banque de France), Frédéric
Karamé (Université du Maine, Gains and CEPREMAP), Junior Maih (Norges
Bank), Ferhat Mihoubi (Université Paris-Est Créteil, Érudite and
Cepremap), Johannes Pfeifer (University of Cologne), Marco Ratto
CEPREMAP), Johannes Pfeifer (University of Cologne), Marco Ratto
(European Commission, Joint Research Centre - JRC) and Sébastien
Villemot (Cepremap). Increasingly, the developer base is expanding, as
tools developed by researchers outside of Cepremap are integrated into
Dynare. Financial support is provided by Cepremap, Banque de France
Villemot (CEPREMAP). Increasingly, the developer base is expanding, as
tools developed by researchers outside of CEPREMAP are integrated into
Dynare. Financial support is provided by CEPREMAP, Banque de France
and DSGE-net (an international research network for DSGE modeling).
Interaction between developers and users of Dynare is central to the
......
......@@ -40,7 +40,7 @@ added to this ``Page`` until another ``Page`` is added to the report
at the end of the section.
Options to methods are passed differently than those to Dynare
commands. They take the form of named options to Matlab functions
commands. They take the form of named options to MATLAB functions
where the arguments come in pairs
(e.g. ``function_name(`option_1_name', `option_1_value',
`option_2_name', `option_2_value', ...)``, where ``option_X_name`` is
......@@ -821,7 +821,7 @@ and a clarifying example.
.. option:: showReport, BOOLEAN
Open the compiled report (works on Windows and macOS on
Matlab). Default: ``true``.
MATLAB). Default: ``true``.
*Example*
......
......@@ -111,7 +111,7 @@ by the ``dynare`` command.
By default, ``dynare`` will issue a ``clear all`` command to
MATLAB (<R2015b) or Octave, thereby deleting all workspace
variables and functions; this option instructs ``dynare`` not
to clear the workspace. Note that starting with Matlab 2015b
to clear the workspace. Note that starting with MATLAB 2015b
``dynare`` only deletes the global variables and the functions
using persistent variables, in order to benefit from the JIT
(Just In Time) compilation. In this case the option instructs
......@@ -265,13 +265,13 @@ by the ``dynare`` command.
.. option:: nopathchange
By default Dynare will change Matlab/Octaves path if
By default Dynare will change MATLAB/Octaves path if
``dynare/matlab`` directory is not on top and if Dynares
routines are overriden by routines provided in other
toolboxes. If one wishes to override Dynares routines, the
``nopathchange`` options can be used. Alternatively, the path
can be temporarly modified by the user at the top of the
``.mod`` file (using Matlab/Octaves ``addpath`` command).
``.mod`` file (using MATLAB/Octaves ``addpath`` command).
.. option:: nopreprocessoroutput
......@@ -287,7 +287,7 @@ by the ``dynare`` command.
.. option:: matlabroot=<<path>>
The path to the Matlab installation for use with
The path to the MATLAB installation for use with
:opt:`use_dll`. Dynare is able to set this automatically,
so you should not need to set it yourself.
......@@ -505,7 +505,7 @@ parser would continue processing.
It is also helpful to keep in mind that any piece of code that does not violate
Dynare syntax, but at the same time is not recognized by the parser, is interpreted
as native Matlab code. This code will be directly passed to the ``driver`` script.
as native MATLAB code. This code will be directly passed to the ``driver`` script.
Investigating ``driver.m`` file then helps with debugging. Such problems most often
occur when defined variable or parameter names have been misspelled so that Dynare's
parser is unable to recognize them.
......@@ -337,12 +337,12 @@ set up Dynare for parallel execution.
Key+Pause to open the System Configuration, then go to Advanced
-> Environment Variables -> Path).
5. Restart your computer to make the path change effective.
6. Open Matlab and type into the command window::
6. Open MATLAB and type into the command window::
!psexec
This executes the ``psexec.exe`` from PSTools on your system
and shows whether Dynare will be able to locate it. If Matlab
and shows whether Dynare will be able to locate it. If MATLAB
complains at this stage, you did not correctly set your Windows
system path for the ``PSTools`` folder.
7. If ``psexec.exe`` was located in the previous step, a popup
......@@ -380,7 +380,7 @@ set up Dynare for parallel execution.
ComputerName=localhost
#cores to be included from this node
CPUnbr=[1:2]
#path to matlab.exe; on Windows, theMatlab bin folder is in the system path
#path to matlab.exe; on Windows, the MATLAB bin folder is in the system path
#so we only need to provide the name of the exe file
MatlabOctavePath=matlab
#Dynare path you are using
......
......@@ -21,7 +21,7 @@ are terminated by ``end;``.
If Dynare encounters an unknown expression at the beginning of a line
or after a semicolon, it will parse the rest of that line as native
Matlab code, even if there are more statements separated by semicolons
MATLAB code, even if there are more statements separated by semicolons
present. To prevent cryptic error messages, it is strongly recommended
to always only put one statement/command into each line and start a
new line after each semicolon. [#feol]_
......@@ -83,7 +83,7 @@ functions that may be called by Dynare or user-defined steady state
files, it is recommended to avoid using the name of MATLAB
functions. In particular when working with steady state files, do not
use correctly-spelled greek names like `alpha`, because there are
Matlab functions of the same name. Rather go for ``alppha`` or
MATLAB functions of the same name. Rather go for ``alppha`` or
``alph``. Lastly, please do not name a variable or parameter
``i``. This may interfere with the imaginary number i and the index in
many loops. Rather, name investment ``invest``. Using ``inv`` is also
......@@ -2168,7 +2168,7 @@ Finding the steady state with Dynare nonlinear solver
to download the solver’s most current version yourself
from `http://pages.cs.wisc.edu/~ferris/path.html
<http://pages.cs.wisc.edu/~ferris/path.html>`__ and
place it in Matlabs search path.
place it in MATLAB’s search path.
|br| Default value is ``4``.
......@@ -4984,7 +4984,7 @@ block decomposition of the model (see :opt:`block`).
Triggers three types of Hessian
computations. ``0``: outer product gradient; ``1``:
default DYNARE Hessian routine; ``2``: ’mixed’
default Dynare Hessian routine; ``2``: ’mixed’
outer product gradient, where diagonal elements are
obtained using second order derivation formula and
outer product is used for correlation
......@@ -4992,7 +4992,7 @@ block decomposition of the model (see :opt:`block`).
univariate filters, to ensure using maximum number
of individual densities and a positive definite
Hessian. Both {0} and {2} are quicker than default
DYNARE numeric Hessian, but provide decent starting
Dynare numeric Hessian, but provide decent starting
values for Metropolis for large models (option {2}
being more accurate than {0}). Default: ``1``.
......@@ -6915,7 +6915,7 @@ Shock Decomposition
.. option:: colormap = STRING
Controls the ``colormap`` used for the shocks decomposition
graphs. See colormap in Matlab/Octave manual for valid
graphs. See colormap in MATLAB/Octave manual for valid
arguments.
.. option:: nograph
......@@ -7794,7 +7794,7 @@ variables. This shocks are described using the function
for a perfectly anticipated shock. The fourth argument indicates
the period of the shock using a dates class (see :ref:`dates class
members <dates-members>`). The last argument is the shock path
indicated as a Matlab vector of double. This function return the
indicated as a MATLAB vector of double. This function return the
handle of the updated forecast scenario.
The forecast scenario can also contain a constrained path on an
......@@ -7817,7 +7817,7 @@ is described with the function ``flip_plan``:
argument indicates the period where the path of the endogenous
variable is constrained using a dates class (see :ref:`dates class
members <dates-members>`). The last argument contains the
constrained path as a Matlab vector of double. This function
constrained path as a MATLAB vector of double. This function
return the handle of the updated forecast scenario.
Once the forecast scenario if fully described, the forecast is
......@@ -9037,7 +9037,7 @@ Types of analysis and output files
The sensitivity analysis toolbox includes several types of
analyses. Sensitivity analysis results are saved locally in
``<mod_file>/gsa``, where ``<mod_file>.mod`` is the name of the DYNARE
``<mod_file>/gsa``, where ``<mod_file>.mod`` is the name of the Dynare
model file.
Sampling
......
......@@ -8,7 +8,7 @@
Time Series
###########
Dynare provides a Matlab/Octave class for handling time series data,
Dynare provides a MATLAB/Octave class for handling time series data,
which is based on a class for handling dates. Dynare also provides a
new type for dates, so that the basic user does not have to worry
about class and methods for dates. Below, you will first find the
......@@ -32,7 +32,7 @@ quarterly, monthly or weekly dates using the following syntax::
1990W49
Behind the scene, Dynare’s preprocessor translates these expressions
into instantiations of the Matlab/Octave’s class ``dates`` described
into instantiations of the MATLAB/Octave’s class ``dates`` described
below. Basic operations can be performed on dates:
**plus binary operator (+)**
......@@ -126,7 +126,7 @@ below. Basic operations can be performed on dates:
and ones.
One can select an element, or some elements, in a ``dates`` object as
he would extract some elements from a vector in Matlab/Octave. Let ``a
he would extract some elements from a vector in MATLAB/Octave. Let ``a
= 1950Q1:1951Q1`` be a ``dates`` object, then ``a(1)==1950Q1`` returns
``1``, ``a(end)==1951Q1`` returns ``1`` and ``a(end-1:end)`` selects
the two last elements of ``a`` (by instantiating the ``dates`` object
......@@ -146,7 +146,7 @@ Dynare will translate this as::
disp('Initial period is dates('1950Q1')');
which will lead to a crash because this expression is illegal in
Matlab. For this situation, Dynare provides the ``$`` escape
MATLAB. For this situation, Dynare provides the ``$`` escape
parameter. The following expression::
disp('Initial period is $1950Q1');
......@@ -253,7 +253,7 @@ The dates class
A list of the available methods, by alphabetical order, is given
below. Note that the Matlab/Octave classes do not allow in place
below. Note that the MATLAB/Octave classes do not allow in place
modifications: when a method is applied to an object a new object
is instantiated. For instance, to apply the method
``multiplybytwo`` to an object ``X`` we write::
......@@ -295,7 +295,7 @@ The dates class
.. datesmethod:: C = colon (A, B)
C = colon (A, i, B)
|br| Overloads the Matlab/Octave colon (``:``) operator. A and B
|br| Overloads the MATLAB/Octave colon (``:``) operator. A and B
are ``dates`` objects. The optional increment ``i`` is a
scalar integer (default value is ``i=1``). This method returns
a ``dates`` object and can be used to create ranges of dates.
......@@ -314,7 +314,7 @@ The dates class
.. datesmethod:: B = double (A)
|br| Overloads the Matlab/Octave ``double`` function. ``A`` is
|br| Overloads the MATLAB/Octave ``double`` function. ``A`` is
a ``dates`` object. The method returns a floating point
representation of a ``dates`` object, the integer and
fractional parts respectively corresponding to the year and
......@@ -339,7 +339,7 @@ The dates class
.. datesmethod:: C = eq (A, B)
|br| Overloads the Matlab/Octave ``eq`` (equal, ``==``)
|br| Overloads the MATLAB/Octave ``eq`` (equal, ``==``)
operator. ``dates`` objects ``A`` and ``B`` must have the same
number of elements (say, ``n``). The returned argument is a
``n`` by ``1`` vector of zeros and ones. The i-th element of
......@@ -362,7 +362,7 @@ The dates class
.. datesmethod:: C = ge (A, B)
|br| Overloads the Matlab/Octave ``ge`` (greater or equal,
|br| Overloads the MATLAB/Octave ``ge`` (greater or equal,
``>=``) operator. ``dates`` objects ``A`` and ``B`` must have
the same number of elements (say, ``n``). The returned
argument is a ``n`` by ``1`` vector of zeros and ones. The
......@@ -385,7 +385,7 @@ The dates class
.. datesmethod:: C = gt (A, B)
|br| Overloads the Matlab/Octave ``gt`` (greater than, ``>``)
|br| Overloads the MATLAB/Octave ``gt`` (greater than, ``>``)
operator. ``dates`` objects ``A`` and ``B`` must have the same
number of elements (say, ``n``). The returned argument is a
``n`` by ``1`` vector of zeros and ones. The i-th element of
......@@ -408,7 +408,7 @@ The dates class
.. datesmethod:: D = horzcat (A, B, C, ...)
|br| Overloads the Matlab/Octave ``horzcat`` operator. All the
|br| Overloads the MATLAB/Octave ``horzcat`` operator. All the
input arguments must be ``dates`` objects. The returned
argument is a ``dates`` object gathering all the dates given
in the input arguments (repetitions are not removed).
......@@ -426,7 +426,7 @@ The dates class
.. datesmethod:: C = intersect (A, B)
|br| Overloads the Matlab/Octave ``intersect`` function. All
|br| Overloads the MATLAB/Octave ``intersect`` function. All
the input arguments must be ``dates`` objects. The returned
argument is a ``dates`` object gathering all the common dates
given in the input arguments. If ``A`` and ``B`` are disjoint
......@@ -447,7 +447,7 @@ The dates class
.. datesmethod:: C = setdiff (A, B)
|br| Overloads the Matlab/Octave ``setdiff`` function. All the
|br| Overloads the MATLAB/Octave ``setdiff`` function. All the
input arguments must be ``dates`` objects. The returned
argument is a ``dates`` object all dates present in ``A`` but
not in ``B``. If ``A`` and ``B`` are disjoint ``dates``
......@@ -469,7 +469,7 @@ The dates class
.. datesmethod:: B = isempty (A)
|br| Overloads the Matlab/Octave ``isempty`` function for ``dates``
|br| Overloads the MATLAB/Octave ``isempty`` function for ``dates``
objects``.
*Example*
......@@ -486,7 +486,7 @@ The dates class
.. datesmethod:: C = isequal (A, B)
|br| Overloads the Matlab/Octave ``isequal`` function for
|br| Overloads the MATLAB/Octave ``isequal`` function for
``dates`` objects.
*Example*
......@@ -503,7 +503,7 @@ The dates class
.. datesmethod:: C = le (A, B)
|br| Overloads the Matlab/Octave ``le`` (less or equal,
|br| Overloads the MATLAB/Octave ``le`` (less or equal,
``<=``) operator. ``dates`` objects ``A`` and ``B`` must have
the same number of elements (say, ``n``). The returned
argument is a ``n`` by ``1`` vector of zeros and ones. The
......@@ -526,7 +526,7 @@ The dates class
.. datesmethod:: B = length (A)
|br| Overloads the Matlab/Octave ``length`` function. Returns the
|br| Overloads the MATLAB/Octave ``length`` function. Returns the
number of dates in ``dates`` object ``A`` (``B`` is a scalar
integer).
......@@ -544,7 +544,7 @@ The dates class
.. datesmethod:: C = lt (A, B)
|br| Overloads the Matlab/Octave ``lt`` (less than, ``<``)
|br| Overloads the MATLAB/Octave ``lt`` (less than, ``<``)
operator. ``dates`` objects ``A`` and ``B`` must have the same
number of elements (say, ``n``). The returned argument is a
``n`` by ``1`` vector of zeros and ones. The i-th element of
......@@ -567,7 +567,7 @@ The dates class
.. datesmethod:: D = max (A, B, C, ...)