- 28 Nov, 2018 3 commits
-
-
Sébastien Villemot authored
Those const data members are simply made public.
-
Sébastien Villemot authored
-
Houtan Bastani authored
-
- 27 Nov, 2018 2 commits
-
-
Sébastien Villemot authored
The engine is now more robust and should reject any expression that does not conform to the expected form. It is also able to deal with more cases, such as terms appearing with a minus sign, or variables in the middle of a three-factors product. BTW, use a std::tuple for storing the result of the matching inside PacExpectationNode, and change the order of components within the structure (variable first, scalar last).
-
Sébastien Villemot authored
-
- 23 Nov, 2018 2 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- 22 Nov, 2018 5 commits
-
-
Sébastien Villemot authored
The preprocessor now writes all the symmetric elements in the "hp" matrix (derivatives of the hessian w.r.t. parameters), for consistency with all other derivatives output. Previously it was only writing one of the two symmetric elements, when indices of endogenous were different.
-
Sébastien Villemot authored
Also, no longer compute two times symmetric elements in derivation w.r.t. parameters at order 2, for consistency with derivation w.r.t. endogenous. It is therefore now necessary to duplicate them in the output to keep behavior unchanged.
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- 21 Nov, 2018 1 commit
-
-
Sébastien Villemot authored
Thanks to Akim Demaille for the suggestion.
-
- 19 Nov, 2018 2 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
When creating the sparse matrix (in MATLAB or C mode), since storage is in column-major order, output the first column, then the second, then the third. This gives a significant performance boost in use_dll mode (at both compilation and runtime), because it facilitates memory accesses and expression reusage.
-
- 16 Nov, 2018 3 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Closes #13
-
Sébastien Villemot authored
-
- 15 Nov, 2018 6 commits
-
-
Sébastien Villemot authored
This is the first step towards computing k-order derivatives. Ref dynare#217, #10
-
Houtan Bastani authored
-
Houtan Bastani authored
-
Houtan Bastani authored
This reverts commit 17dd4433.
-
Houtan Bastani authored
This reverts commit 158f027d.
-
Houtan Bastani authored
This reverts commit 3776e3b8.
-
- 09 Nov, 2018 1 commit
-
-
Houtan Bastani authored
-
- 08 Nov, 2018 1 commit
-
-
Sébastien Villemot authored
-
- 07 Nov, 2018 1 commit
-
-
Houtan Bastani authored
-
- 06 Nov, 2018 1 commit
-
-
Sébastien Villemot authored
On Windows/MinGW, use the -static linking flag. This enforces static linking of Boost libraries, which is needed on MSYS2. Also, use AM_CXXFLAGS and AM_LDFLAGS variables for changing flags, since CXXFLAGS and LDFLAGS are user variables.
-
- 05 Nov, 2018 2 commits
-
-
Sébastien Villemot authored
Now both x+(-y) and (-x)+y are simplified using a minus operator. Also simplify some code using std::swap().
-
Sébastien Villemot authored
Incidentally, this fixes an issue in DataTree::operator=(), where this would cause to the copy to have a different number of nodes than the original.
-
- 31 Oct, 2018 1 commit
-
-
Sébastien Villemot authored
-
- 30 Oct, 2018 1 commit
-
-
- 29 Oct, 2018 1 commit
-
-
Sébastien Villemot authored
-
- 26 Oct, 2018 2 commits
-
-
Sébastien Villemot authored
New options "mexext" and "matlabroot" are introduced, so that the preprocessor knows where to find MATLAB and which architecture to compile for. Only recent gcc is now supported. A set of optimization flags is used so that compilation goes reasonably fast on large models. Consequently, options "msvc", "mingw" and "cygwin" have been removed.
-
Sébastien Villemot authored
For correlations, there is one extra columns (since there are two symbol indices). MATLAB automatically adds the missing column, while Octave is stricter when verifying dimensions. By the way, add a missing comma.
-
- 25 Oct, 2018 1 commit
-
-
Stéphane Adjemian authored
... when an initial value is given to a parameter that is not estimated. The generated driver file was crashing with cryptic error message because we were searching in the first (and second) column of a potentially empty array with 0 columns. The fix is to initialize the fields of estimated_params_ with empty arrays with 10 columns (ie zeros(0, 10)). Also print a message in the matlab command window if parameter declared in estimated_params_init is not estimated.
-
- 24 Oct, 2018 1 commit
-
-
Houtan Bastani authored
-
- 23 Oct, 2018 1 commit
-
-
Houtan Bastani authored
e.g. 0.5 is valid but .5 is not.
-
- 15 Oct, 2018 1 commit
-
-
Houtan Bastani authored
-
- 12 Oct, 2018 1 commit
-
-
Houtan Bastani authored
-