Skip to content
Snippets Groups Projects
Verified Commit 5b4b7816 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Manual: explicitly say to which type the suffixes |e, |x and |p correspond

[skip ci]

(cherry picked from commit def25a1f)
parent fee2c848
Branches
No related tags found
No related merge requests found
Pipeline #8121 skipped
......@@ -466,12 +466,13 @@ quotes. Hence, to declare a variable ``c`` as endogenous in an equation tag,
you can type ``[endogenous='c']``.
 
To perform on-the-fly variable declaration in an equation, simply follow the
symbol name with a vertical line (``|``, pipe character) and either an ``e``, an
``x``, or a ``p``. For example, to declare a parameter named
``alphaa`` in the model block, you could write ``alphaa|p`` directly in
an equation where it appears. Similarly, to declare an endogenous variable
``c`` in the model block you could write ``c|e``. Note that in-equation
on-the-fly variable declarations must be made on contemporaneous variables.
symbol name with a vertical line (``|``, pipe character) and either an ``e``
(for endogenous), an ``x`` (for exogenous), or a ``p`` (for parameter). For
example, to declare a parameter named ``alphaa`` in the model block, you could
write ``alphaa|p`` directly in an equation where it appears. Similarly, to
declare an endogenous variable ``c`` in the model block you could write
``c|e``. Note that in-equation on-the-fly variable declarations must be made on
contemporaneous variables.
 
On-the-fly variable declarations do not have to appear in the first place where
this variable is encountered.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment