Houtan Bastani
5565e13cd4
preprocessor: allow anything of the form dates(*) to be accepted as a valid date by the preprocessor
2013-10-23 16:09:32 +02:00
Houtan Bastani
3d57c1e5e9
simplify flex code
2013-10-23 15:28:16 +02:00
Houtan Bastani
4f93207a30
macroprocessor: copy anything within "dates()" straight to preprocessing stage
2013-10-22 16:32:53 +02:00
Houtan Bastani
9eb34cee4a
macroprocessor: if you encounter dates(date), insert quotes
2013-10-22 14:06:57 +02:00
Houtan Bastani
858159a4f5
disallow -0 year
2013-10-22 14:06:57 +02:00
Houtan Bastani
7894e8eee7
preprocessor: only accept dates of the form: dates('date') in mod file
2013-10-22 14:06:57 +02:00
Houtan Bastani
9be1d084fd
macroprocessor: substitute dates, don't substitute dates preceded by $ or dates('
2013-10-22 14:06:57 +02:00
Sébastien Villemot
84dd46d9e5
Merge pull request #500 from JohannesPfeifer/conditiona_forecast_manual
...
Fix variable name and document saving of conditional forecasts
2013-10-22 05:06:23 -07:00
Sébastien Villemot
f3b8ab806a
Merge pull request #502 from JohannesPfeifer/predetermined_var_documentation
...
Improve on documentation regarding treatment of predetermined variables
2013-10-22 05:04:59 -07:00
Johannes Pfeifer
0d8fce0847
Improve on documentation regarding treatment of predetermined variables
2013-10-22 11:20:05 +02:00
Stéphane Adjemian (Charybdis)
6128338a15
Added missing tag for triggering the unitary tests in @dates/double.
2013-10-21 11:53:33 +02:00
Stéphane Adjemian (Charybdis)
d31a2674e8
Renamed dynDates2decimal as double, added doc/header and unitary tests.
...
The advantage of this change is that we can put dates in an array of
doubles. For instance, assuming that A is a 2*1 vector, the following
syntax is allowed:
A(1) = dates('1945Q3');
A(2) = dates('1938Q4');
Matlab/Octave calls the overload double function to convert the dates as
a double.
2013-10-21 11:50:21 +02:00
Stéphane Adjemian (Charybdis)
bfb5421182
Removed useless routine.
2013-10-18 22:58:47 +02:00
Stéphane Adjemian (Charybdis)
9a07e5c49d
Fixed unitary test.
2013-10-18 22:55:53 +02:00
Stéphane Adjemian (Charybdis)
6de19c16ab
dynSeries --> dseries.
2013-10-18 17:56:18 +02:00
Stéphane Adjemian (Charybdis)
d86d713cf4
Renamed dynSeries class as dseries.
2013-10-18 17:38:43 +02:00
Stéphane Adjemian (Charybdis)
0056751215
Fixed bug relatated with tex names.
2013-10-18 16:44:18 +02:00
Houtan Bastani
600ae070fb
reporting: change series class name to report_series to avoid conflict with control systems toolbox function series
2013-10-18 15:20:44 +02:00
Houtan Bastani
95fea041ef
reporting: fix typo
2013-10-18 15:20:44 +02:00
Houtan Bastani
1b7d2e1d10
reporting: change table class name to report_table to avoid conflict with matlab function table
2013-10-18 15:20:38 +02:00
Stéphane Adjemian (Charybdis)
14640275d8
Cosmetic change.
2013-10-18 15:06:36 +02:00
Stéphane Adjemian (Charybdis)
b52e57cbb7
Added test for dates (Sébastien, please do not add the files in the test suite).
2013-10-18 12:55:33 +02:00
Stéphane Adjemian (Charybdis)
4b231d2c63
Merge branch 'dates' into remove-dynDate-class (Make Dynare understands plain dates).
2013-10-17 17:36:40 +02:00
Stéphane Adjemian (Charybdis)
3edf3d0e3d
Added csv files for testing load_csv_file_data routine.
2013-10-17 17:34:09 +02:00
Stéphane Adjemian (Charybdis)
ca04453e81
Fixed unitary test in @dynSeries/pop (bug caused by the change of behaviour of the eq method introduced in commit 5b59ff42b1
).
2013-10-17 17:31:17 +02:00
Stéphane Adjemian (Charybdis)
8f3e10ea1b
Merge branch 'master' into remove-dynDate-class
2013-10-17 16:33:19 +02:00
Stéphane Adjemian (Charybdis)
b77d37d83b
Fixed typo in unitary tests numbering.
2013-10-17 16:30:35 +02:00
Stéphane Adjemian (Charybdis)
29cbe5dfb4
Added overloaded cumsum function for dynSeries objects.
2013-10-17 15:59:29 +02:00
Stéphane Adjemian (Charybdis)
1cf174bdb4
Fixed typo in error and warning messages.
2013-10-17 14:26:12 +02:00
Stéphane Adjemian (Charybdis)
f3a54ed79b
Added overloaded method @dynSeries/ne (~=) and @dynSeries/isequal function (reproduce old behaviour of the eq operator, changed in commit 5b59ff42b1
).
2013-10-17 11:38:44 +02:00
Stéphane Adjemian (Charybdis)
5b59ff42b1
Changed behaviour of the overload eq (==) method for dynSeries objects (see header).
2013-10-17 11:37:15 +02:00
Stéphane Adjemian (Charybdis)
69f7e2468c
Fixed bug in display of the dynSeries objects.
2013-10-17 11:36:22 +02:00
Stéphane Adjemian (Charybdis)
bf733d50c4
Added missing semicolon.
2013-10-17 11:36:03 +02:00
Stéphane Adjemian (Charybdis)
a8a9ec1957
Fixed bug in the definition of init when extracting a subsample with a vector of integers.
2013-10-16 16:17:43 +02:00
Stéphane Adjemian (Charybdis)
66143e4749
dynDate -> dates in dynSeries.
2013-10-16 16:16:26 +02:00
Stéphane Adjemian (Charybdis)
529a94e329
Rewrote @dynSeries/horzcat method.
2013-10-16 15:51:07 +02:00
Stéphane Adjemian (Charybdis)
7de84a4767
Fixed typo.
2013-10-16 15:47:56 +02:00
Stéphane Adjemian (Charybdis)
08f693dffd
Added @dates/horzcat and @dates/vertcat methods. Added a function to test if an object is a dates object.
2013-10-16 15:24:42 +02:00
Stéphane Adjemian (Charybdis)
306d8d6f88
Fixed bug (wrong use of inputname function).
2013-10-16 14:56:23 +02:00
Stéphane Adjemian (Charybdis)
46db51b479
Updated @dynSeries/extract method.
2013-10-16 13:16:07 +02:00
Stéphane Adjemian (Charybdis)
2bb66c38f0
Updated dynSeries class' constructor.
2013-10-16 13:09:11 +02:00
Stéphane Adjemian (Charybdis)
eb25a54ee9
Added unitary tests for the dates class' constructor.
2013-10-16 13:07:41 +02:00
Stéphane Adjemian (Charybdis)
2f7e9959f0
Changed dates constructor so that an object can be instantiated by passing the freq and time member or the freq member, the first column of the time member and the second column of the time member (mandatory only for non annual frequency).
2013-10-16 13:04:48 +02:00
Stéphane Adjemian (Charybdis)
f28bc166f6
dynDate --> dates in load_xls_file_data.
2013-10-16 12:30:14 +02:00
Stéphane Adjemian (Charybdis)
73df682eb8
Added consistency test between INIT__ and FREQ__.
2013-10-16 12:05:39 +02:00
Stéphane Adjemian (Charybdis)
fb08f5c133
dynDate --> dates in load_mat_file_data routine. Fixed unitary test.
2013-10-16 12:03:39 +02:00
Stéphane Adjemian (Charybdis)
d0220e8685
Rewrote headers.
2013-10-16 11:56:36 +02:00
Stéphane Adjemian (Charybdis)
97580b84bb
dynDate --> dates in load_m_file_data routine. Fixed unitary test.
2013-10-16 11:40:55 +02:00
Stéphane Adjemian (Charybdis)
c4667fedbb
Replaced instantiation of dynDate objects by instantiation of dates objects in load/csv_file_data (initial date of the dataset).
2013-10-16 11:34:45 +02:00
Stéphane Adjemian (Charybdis)
c8d4949c52
Rewrote header.
2013-10-16 11:33:23 +02:00