From 62aa799d3ef8fac835d685f67783a2188df77dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Tue, 4 May 2021 17:17:07 +0200 Subject: [PATCH] Manual: matrices ghx and ghu are ordered differently if block option is given By the way, also specify that columns of ghx are ordered according to oo_.dr.state_var in all cases. Ref. #1726 --- doc/manual/source/the-model-file.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 48f5be41c4..66b37b53c7 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -4416,10 +4416,15 @@ The coefficients of the decision rules are stored as follows: to all endogenous in the declaration order. * :math:`A` is stored in ``oo_.dr.ghx``. The matrix rows correspond to all endogenous in DR-order. The matrix columns correspond to state - variables in DR-order. + variables in DR-order, as given by ``oo_.dr.state_var``. (N.B.: if the + ``block`` option to the ``model`` block has been specified, then rows + are in declaration order, and columns are ordered + according to ``oo_.dr.state_var`` which may differ from DR-order.) * :math:`B` is stored ``oo_.dr.ghu``. The matrix rows correspond to all endogenous in DR-order. The matrix columns correspond to - exogenous variables in declaration order. + exogenous variables in declaration order. (N.B.: if the + ``block`` option to the ``model`` block has been specified, then rows + are in declaration order.) Of course, the shown form of the approximation is only stylized, because it neglects the required different ordering in :math:`y^s` and -- GitLab