Commit Graph

22 Commits (62f608eb805822dbc166d579a54dda9ec2e2288a)

Author SHA1 Message Date
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Marco Ratto bad52b292d fixed index of variable names defined more than once 2022-01-06 14:51:56 +01:00
Marco Ratto 02072dde39
Add Occbin routines
Syntax is not yet finalized (see preprocessor#68).
Documentation still to be done.

Ref. #569
2021-07-16 17:20:11 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Houtan Bastani 418070ec54
remove unused variable 2019-09-10 11:08:20 +02:00
Sébastien Villemot 7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments 2018-11-13 18:02:09 +01:00
Stéphane Adjemian (Scylla) 7be8f10e0e Use cells of strings instead of char arrays. 2018-01-09 22:30:01 +01:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Johannes Pfeifer c373ed3897 Make sure varlists are correctly updated after removal of doubly defined variables via varlist_indices.m
Otherwise the mapping between i_var and varlist does not match anymore (results in e.g. wrong display of IRFs)
2017-05-14 11:03:05 +02:00
Johannes Pfeifer 6962bc8171 Convert use of unique to be compatible with older Matlab version 2014-02-03 13:19:11 +01:00
Johannes Pfeifer c6cd5b40d9 Consider only unique members of varlist in estimation 2014-02-03 10:03:17 +01:00
Johannes Pfeifer e0ed06e608 Consider only unique variables in stoch_simul 2014-02-03 09:54:27 +01:00
Stéphane Adjemian (Charybdis) ddd95361ba Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION'). 2013-11-04 10:54:45 +01:00
Sébastien Villemot feb0eb8a11 Adapt for change of ismember in MATLAB R2013a 2013-03-25 14:34:07 +01:00
Sébastien Villemot 503b055df2 Fixed bugs in varlist_indices.m (thanks to Johannes Pfeifer for pointing them) 2011-01-10 13:11:25 +01:00
Sébastien Villemot 667d5ac262 var_listindices.m: fix for Octave 2010-03-24 12:54:18 +01:00
Michel Juillard 436fdf97c6 modified varlist_indices 2010-03-23 06:38:39 +01:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien a2cef7009d Fixes for ticket #57
preprocessor:
* add a field "M_.orig_endo_nbr" containing the nbr of endogenous before adding aux vars
* always provide "M_.aux_vars" (define it to "[]" when there is no aux var)
* rename "M_.aux_vars().orig_endo_index" to "M_.aux_vars().orig_index"

M-files:
* for commands which accept a list of variables (stoch_simul, osr, estimation, dynasave, dynatype, datatomfile), when no variable is given, use only the set of original endogenous (without aux vars) as the default
* when displaying the decision rule, when there is aux vars in the state variables, replace them by their original name (with the right lag)
* in "steady", don't display aux vars
* special exception for ramsey policy: all vars (including aux vars) are displayed, because the system of aux vars from ramsey policy is not compatible with the aux vars from the preprocessor


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3166 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 10:22:39 +00:00
sebastien f892795a54 trunk: fixed copyright headers in new files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2532 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-27 14:39:26 +00:00
michel f7e2d17635 new function
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2528 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-26 16:33:24 +00:00