Sébastien Villemot
daefec91f2
Ref.manual: fix in latex formula w.r.t. underscores
2013-10-11 14:08:16 +02:00
Stéphane Adjemian (Charybdis)
31af73f4e3
Added @dynDates/uminus method to overload the unary minus operator. Removed @dynDate/minus method.
2013-10-11 14:08:12 +02:00
Stéphane Adjemian (Charybdis)
d8e03ff805
Added @dynDates/uplus to overload unary addition. Removed @dynDate/uplus.
2013-10-11 13:59:19 +02:00
Stéphane Adjemian (Charybdis)
6280f35842
Added @dynDates/ge method to overload >= operator. Removed @dynDate/ge method.
2013-10-11 13:42:16 +02:00
Stéphane Adjemian (Charybdis)
1543a380c6
Expanded unitary test in compare_vectors routine to cover more cases.
2013-10-11 13:39:16 +02:00
Stéphane Adjemian (Charybdis)
af4005f836
Fixed bugs.
2013-10-11 13:38:19 +02:00
Stéphane Adjemian (Charybdis)
6fff2fe75b
Changed logic in the routine performing lexicographic comparison of vectors.
2013-10-11 12:09:31 +02:00
Houtan Bastani
f6cacbd4db
simplify date regex and require [YyAa] to follow annual date
2013-10-11 11:13:15 +02:00
Stéphane Adjemian (Charybdis)
be32e645af
Fixed typo.
2013-10-11 10:58:35 +02:00
Stéphane Adjemian (Charybdis)
f431e6ac90
Added @dynDates/le method to overload the <= operator. Removed the @dynDate/le method.
2013-10-11 10:56:32 +02:00
Stéphane Adjemian (Charybdis)
563ffdcd15
Deactivated unitary tests #2 and #3 in @dynDates/subsref, changed unitary test #1 (do not use colon operator to instantiate a dynDates object) and added a new unitary test (to test the selection of one element in a dynDates object).
2013-10-11 10:20:08 +02:00
Stéphane Adjemian (Charybdis)
049ba8d527
Changed @dynDates/subsref so that the selection of a single element in a dynDates object returns a dynDates object with one element (not a dynDate object).
2013-10-11 10:17:48 +02:00
Stéphane Adjemian (Charybdis)
153fe1ca82
Changed unitary test for @dynDates/eq (do not use the colon operator to instantiate the dynDates object). Added unitary test for the case where dynDates objects have only one element.
2013-10-11 09:59:02 +02:00
Stéphane Adjemian (Charybdis)
4118165b88
Removed @dynDate/isempty.
2013-10-11 09:51:26 +02:00
Stéphane Adjemian (Charybdis)
b98c390ed8
Only test the value of ndat member in @dynDates/isempty function.
2013-10-11 09:48:55 +02:00
Stéphane Adjemian (Charybdis)
18a19f3200
Added @dynDates/gt method to overload the > operator. Deleted @dynDate/gt method.
2013-10-11 09:44:42 +02:00
Stéphane Adjemian (Charybdis)
a2534c5bbc
Added unitary test.
2013-10-11 09:37:20 +02:00
Stéphane Adjemian (Charybdis)
b957545c73
Removed @dynDate/lt method.
2013-10-11 09:37:05 +02:00
Stéphane Adjemian (Charybdis)
c3e06c70bc
Added dynDates::lt method. Overloads < opterator.
2013-10-10 18:28:26 +02:00
Stéphane Adjemian (Charybdis)
c37c34a102
Fixed typo.
2013-10-10 18:27:31 +02:00
Stéphane Adjemian (Charybdis)
a22852afad
Added routine to compare vectors of common length by lexicographical order.
2013-10-10 16:56:42 +02:00
Stéphane Adjemian (Charybdis)
55cf9ebde1
Replaced texinfo header by a plain text header.
2013-10-10 16:01:37 +02:00
Stéphane Adjemian (Charybdis)
21fa2b949d
Rewrote @dynDates::eq method so that it handles correctly objects with only one element.
2013-10-10 15:52:50 +02:00
Stéphane Adjemian (Charybdis)
74d7bcbc71
Changed dynDates constructor.
2013-10-10 15:13:50 +02:00
Stéphane Adjemian (Charybdis)
294356db22
Fixed unitary test #3 in dynDates constructor.
2013-10-10 15:13:12 +02:00
Stéphane Adjemian (Charybdis)
e9bb2ba77f
Deactivated unitary test #4 in dynDates constructor.
2013-10-10 14:58:15 +02:00
Stéphane Adjemian (Charybdis)
22144ef359
Added a routine for converting a string into a date structure.
...
A date structure has two fields:
o freq, an integer scalar (=1, 4, 12, 52) specifying the frequency.
o time, a 1*2 matrix of integers, time(1) is the year and time(2) the subperiod number.
2013-10-10 14:33:31 +02:00
Stéphane Adjemian (Charybdis)
adcc218a0d
Added new routine to test if a string can be interpreted as a date.
2013-10-10 14:30:38 +02:00
Stéphane Adjemian (Charybdis)
5a1b5aaf73
Fixed bug (month number 10 was missing).
2013-10-10 14:05:12 +02:00
Stéphane Adjemian (Charybdis)
f4e32dbd6f
Efficiency improvements. Rewrote some routines using regular expressions.
2013-10-10 12:52:27 +02:00
Houtan Bastani
374b36b904
Revert "preprocessor: replace dates with dynDates"
...
This reverts commit 030fe52aff
.
Conflicts:
preprocessor/Statement.cc
2013-10-10 11:04:56 +02:00
Michel Juillard
404f29e47e
dynare++ adding missing header
2013-10-10 10:04:14 +02:00
Stéphane Adjemian (Charybdis)
399b6d2615
Specialized maxit in bytecode mex (dynamic simulation vs steady state).
2013-10-09 16:55:46 +02:00
Stéphane Adjemian (Charybdis)
5a98be702c
Decreased the value of maxit in simul (bytecode & ireland.mod).
2013-10-09 16:53:31 +02:00
Stéphane Adjemian (Charybdis)
e28eaa1c18
Use dynare interface (maxit option).
2013-10-09 16:26:55 +02:00
Stéphane Adjemian (Charybdis)
d8052342f3
Fixed bug introduced in cc0d9b42f0
(bytecode.cc).
...
Problem when reading nested structures.
2013-10-09 16:26:29 +02:00
Stéphane Adjemian (Charybdis)
f3334357a5
Merge branch 'master' into maxit
2013-10-09 15:43:43 +02:00
Stéphane Adjemian (Charybdis)
6d71f76762
Renamed options_.solve_maxit as options_.simul.maxit
2013-10-09 15:38:35 +02:00
Stéphane Adjemian (Charybdis)
969fe3c209
Renamed options_.solve_maxit as options_.steady.maxit.
2013-10-09 15:38:07 +02:00
Stéphane Adjemian (Charybdis)
bde961feca
Renamed options_.solve_maxit as options_.dp.maxit.
2013-10-09 15:37:21 +02:00
Stéphane Adjemian (Charybdis)
99b6326540
Same as 38712d987c
.
2013-10-09 15:31:48 +02:00
Stéphane Adjemian (Charybdis)
38712d987c
Renamed options_.solve_maxit as options_.simul.maxit in det_cond_forecast.
...
Probably needs another option name...
2013-10-09 15:21:32 +02:00
Houtan Bastani
bcc883edad
gitignore: exclude macro-expanded mod files
2013-10-09 14:45:34 +02:00
Houtan Bastani
d08fdb675d
reporting: fix syntax for dynSeries change
2013-10-09 14:43:43 +02:00
Stéphane Adjemian (Charybdis)
5625900214
Changed name of some occurences of options_.solve_maxit as options_.simul.maxit.
2013-10-09 14:07:15 +02:00
Michel Juillard
0264a6b055
adding a function dynDates@decimal(dd) that transforms dynDates into a vector of double
...
where the integer part represents the period and the fractional part
the subperiod. Maybe we could think of a better name for the function.
2013-10-09 13:43:27 +02:00
Stéphane Adjemian (Charybdis)
cc0d9b42f0
Changed name of options_.maxit as options_.simul.maxit.
2013-10-09 13:06:06 +02:00
Stéphane Adjemian (Charybdis)
28740370e6
Removed general maxit from options_ (maxit_).
2013-10-09 12:32:37 +02:00
Michel Juillard
0ac8f4e5b1
dynSeries: fixed size of 'time' field
2013-10-09 12:29:45 +02:00
Michel Juillard
af62f3e35d
dynSeries: update 'time' field in align()
2013-10-09 12:28:52 +02:00