- 09 Sep, 2013 2 commits
-
-
Sébastien Villemot authored
This reverts commit 7541bb52. This commit was breaking compilation of MEX files: the subdir-objects option does not deal well with source files that are under a distinct tree.
-
Stéphane Adjemian authored
(cherry picked from commit 80218a1b)
-
- 07 Sep, 2013 1 commit
-
-
Stéphane Adjemian authored
-
- 06 Sep, 2013 6 commits
-
-
Stéphane Adjemian authored
This method can be used to apply the lead and lag methods an arbitrary number of times to a dynSeries object. For instance, if ts is a dynSeries object, and if we define >> B = dynTimeIndex()-1; >> F = dynTimeIndex()+1; B and F can be used as lag and lead operators and the following syntax: >> us = ts(F^2); is equivalent to >> us = ts.lead(2) or >> us = ts.lead.lead
-
Stéphane Adjemian authored
Added missing case for set_names in subsref. This commit and the previous one fix the bug in @dynSeries::set_names method reported at http://www.dynare.org/stepan/dynare/tests/report-f4c01a43bc2882e7fd18f3cd82344fff9644088c.log.
-
Stéphane Adjemian authored
Fixed unitary tests. If not specified, the name a variable in a dynSeries object is not '--NaN--' but 'Variable_xx' where x is the number of the variable.
-
Sébastien Villemot authored
-
Stéphane Adjemian authored
Fixed bug (The argument of inputname must be the input argument number not the input argument itself).
-
- 05 Sep, 2013 19 commits
-
-
Stéphane Adjemian authored
Suppose that ts is a dynSeries object and let t = dynTimeIndex(); Then us = ts.lag(); <=> us = ts(t-1); us = ts.lag(2); <=> us = ts(t-2); us = ts.lead(); <=> us = ts(t+1); Added corresponding unitary test.
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
Moved the commented first line, used to declare that the routine has unitary tests, after the declaration of the function, otherwise help is not displayed.
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
Added new interface to dynDate. The constructor accepts a character ('Y', 'A', 'Q', 'M' or 'W') as the second input to specify the frequency instead of an integer (1, 4, 12, or 52). The following expressions are equivalent: a = dynDate([1945 3],4); a = dynDate([1945 3],'Q');
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
Added tests in dynDate constructor (when dynDate is called with two input arguments: time and frequency).
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
Follwing expressions are equivalent: a = dynDate('2009'); a = dynDate('2009y'); a = dynDate('2009a'); a = dynaDate(2009);
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
- 04 Sep, 2013 3 commits
-
-
Sébastien Villemot authored
Bugfix for conditional variance decomposition
-
Johannes Pfeifer authored
Cosmetic fix
-
Johannes Pfeifer authored
sigma_e_is_diagonal was erroneously set to 0 if the covariance matrix was diagonal, but contained a 0 on the main diagonal.
-
- 03 Sep, 2013 5 commits
-
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
Added argument to shiftS routine so that it can be called recursively to remove more than one element in a one dimensional cell array.
-
Stéphane Adjemian authored
Changed the syntax so that the difference between calling a member or a method is more explicit (dynSeries).
-
- 02 Sep, 2013 4 commits
-
-
Stéphane Adjemian authored
Changed the syntax so that the difference between calling a member or a method is more explicit (dynDates) and added unitary tests.
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
If a is a dynDate object: a.format or a.format() are allowed because format is a method. a.freq is allowed but a.freq() returns an error message because freq (same for time) is a member.
-