diff --git a/DynamicModel.cc b/DynamicModel.cc index 6b562b48..82c51e94 100644 --- a/DynamicModel.cc +++ b/DynamicModel.cc @@ -1506,6 +1506,28 @@ DynamicModel::writeDynamicMFile(const string &dynamic_basename) const << "%" << endl << "% Status : Computes dynamic model for Dynare" << endl << "%" << endl + << "% Inputs :" << endl + << "% y [#dynamic variables by 1] double vector of endogenous variables in the order stored" << endl + << "% in M_.lead_lag_incidence; see the Manual" << endl + << "% x [M_.exo_nbr by nperiods] double matrix of exogenous variables (in declaration order)" << endl + << "% for all simulation periods" << endl + << "% params [M_.param_nbr by 1] double vector of parameter values in declaration order" << endl + << "% it_ scalar double time period for exogenous variables for which to evaluate the model" << endl + << "%" << endl + << "% Outputs:" << endl + << "% residual [M_.endo_nbr by 1] double vector of residuals of the dynamic model equations in order of " << endl + << "% declaration of the equations" << endl + << "% g1 [M_.endo_nbr by #dynamic variables] double Jacobian matrix of the dynamic model equations;" << endl + << "% columns: equations in order of declaration" << endl + << "% rows: variables in order stored in M_.lead_lag_incidence" << endl + << "% g2 [M_.endo_nbr by (#dynamic variables)^2] double Hessian matrix of the dynamic model equations;" << endl + << "% columns: equations in order of declaration" << endl + << "% rows: variables in order stored in M_.lead_lag_incidence" << endl + << "% g3 [M_.endo_nbr by (#dynamic variables)^3] double Third order derivative matrix of the dynamic model equations;" << endl + << "% columns: equations in order of declaration" << endl + << "% rows: variables in order stored in M_.lead_lag_incidence" << endl + << "%" << endl + << "%" << endl << "% Warning : this file is generated automatically by Dynare" << endl << "% from model file (.mod)" << endl << endl; diff --git a/StaticModel.cc b/StaticModel.cc index 965aa3de..c78324ea 100644 --- a/StaticModel.cc +++ b/StaticModel.cc @@ -1146,6 +1146,22 @@ StaticModel::writeStaticMFile(const string &func_name) const << "%" << endl << "% Status : Computes static model for Dynare" << endl << "%" << endl + << "% Inputs : " << endl + << "% y [M_.endo_nbr by 1] double vector of endogenous variables in declaration order" << endl + << "% x [M_.exo_nbr by 1] double vector of exogenous variables in declaration order" << endl + << "% params [M_.param_nbr by 1] double vector of parameter values in declaration order" << endl + << "%" << endl + << "% Outputs:" << endl + << "% residual [M_.endo_nbr by 1] double vector of residuals of the static model equations " << endl + << "% in order of declaration of the equations" << endl + << "% g1 [M_.endo_nbr by M_.endo_nbr] double Jacobian matrix of the static model equations;" << endl + << "% columns: equations in order of declaration" << endl + << "% rows: variables in declaration order" << endl + << "% g2 [M_.endo_nbr by (M_.endo_nbr)^2] double Hessian matrix of the static model equations;" << endl + << "% columns: equations in order of declaration" << endl + << "% rows: variables in declaration order" << endl + << "%" << endl + << "%" << endl << "% Warning : this file is generated automatically by Dynare" << endl << "% from model file (.mod)" << endl << endl;