Commit Graph

11432 Commits (e5f938a8e566348081ae6bb1e091ecdfa0b1d5d7)

Author SHA1 Message Date
Sébastien Villemot e5f938a8e5
Integrate new reference manual
- integrate with autoconf/automake, so that "make html pdf" now build the
  manual
- remove the old texinfo manual
- the PDF manual is now called dynare-manual.pdf (Closes #1543)
- add a Gitlab CI job that updates the online unstable manual under
  www.dynare.org/manual-unstable/
2019-02-21 16:58:18 +01:00
Sébastien Villemot 790c56612c
Dynare++ tensor library: changes to exception handling
- TL_RAISE now unconditionally raises an exception
- rathe use TL_RAISE_IF at some places, to save a test in non-debug mode
2019-02-20 18:07:07 +01:00
Sébastien Villemot b72857d4ce
Dynare++: the get() method of tensor containers now return a reference
Previously it was returning a pointer, which is non-standard for containers,
and was leading to ugly dereferencing everywhere.
2019-02-20 18:06:58 +01:00
Sébastien Villemot c8c6ec58a6
Dynare++: simplify TLException class 2019-02-20 17:23:37 +01:00
Sébastien Villemot ff57451474
Dynare++: simplifications made possible by new init-list constructor of IntSequence 2019-02-20 17:04:37 +01:00
Sébastien Villemot b5793ddd22
Dynare++: use std::unique_ptr for storage inside tensor containers 2019-02-20 17:04:34 +01:00
Sébastien Villemot 9e1df25580
Dynare++: various simplifications 2019-02-20 14:36:35 +01:00
Sébastien Villemot 02d6f86487
Dynare++ tensor library: use smart pointers in fold() and unfold() methods 2019-02-20 14:25:32 +01:00
Sébastien Villemot 72a445c348
Dynare++ tensor library doc: update for TLStatic; fix typo 2019-02-20 14:00:00 +01:00
Sébastien Villemot c0224a640c
Dynare++: small optimization in unfolded tensor indexing 2019-02-20 13:06:17 +01:00
Sébastien Villemot 30b8681731
Dynare++: make multinomial coeffs computation a method of IntSequence
Also improve on the comments.
2019-02-20 12:37:59 +01:00
Sébastien Villemot 414b0a19b6
Fix error message of makedataset 2019-02-19 18:57:17 +01:00
Sébastien Villemot 0f08486a12
Update emacs directory-local variables
- fix C mode
- add C++ mode
- add Octave mode
2019-02-19 18:53:43 +01:00
Sébastien Villemot 9f4986e90e
Add missing Dynare++ header file to MEX builds 2019-02-19 18:53:21 +01:00
Sébastien Villemot 9512a32ad0
Dynare++: remove duplicate implementation of the Pascal triangle
As a consequence, the singleton implementation has to be made thread-safe.

Also implement the singleton pattern using a namespace, rather than a static
instance.
2019-02-19 16:46:04 +01:00
Sébastien Villemot 5fcf563c61
Dynare++: factorize and optimize code for integer exponentiation
There were two implementations of integer exponentiation. Merge them into a new
file under utils/cc/.

By the way, optimize it using exponentiation by squaring.
2019-02-19 15:50:07 +01:00
Sébastien Villemot 0f37649755
Dynare++ tensor library: modernize normal moments computation 2019-02-19 12:53:02 +01:00
Sébastien Villemot d08ca8ca7f
Dynare++ tensor library: modernization of Kronecker product classes 2019-02-19 12:47:40 +01:00
Stéphane Adjemian (Charybdis) 6e747b5dba
Merge remote-tracking branch 'reference-manual/merge-in-main-dynare-Repo
[skip ci]
2019-02-19 11:39:11 +01:00
Stéphane Adjemian (Charybdis) 35b848d766
Moved all files under doc/manual subfolder. 2019-02-19 11:32:09 +01:00
Stéphane Adjemian (Charybdis) 7d93021839
Added rule for pushing reference manual on remote server. 2019-02-19 11:24:18 +01:00
Stéphane Adjemian (Charybdis) f8ba3da65d
Ensure that src/build/html/_static contains a symlink to mathjax...
... Not a copy of all the files.
2019-02-19 11:02:14 +01:00
Stéphane Adjemian (Charybdis) 6f28c71029
Added README. 2019-02-19 10:41:45 +01:00
Stéphane Adjemian (Charybdis) d548a6bdc6
Use python packages from the package manager. 2019-02-19 10:15:39 +01:00
Stéphane Adjemian (Charybdis) e7b08b7230
Use Mathjax from package manager. 2019-02-19 09:49:50 +01:00
Stéphane Adjemian (Charybdis) 9e3141482b
Reworked the installation of the Dynare sphinx domain and pygment lexer. 2019-02-19 09:32:45 +01:00
Stéphane Adjemian (Charybdis) f4ce25c982
Removed useless patch file since 524dedf. 2019-02-19 09:15:26 +01:00
Stéphane Adjemian (Charybdis) 3acf4d6a83
Removed sidebar's scrollbar. 2019-02-18 23:41:54 +01:00
Stéphane Adjemian (Charybdis) 5eaaea510a
Updated copyright headers. 2019-02-18 22:52:10 +01:00
Stéphane Adjemian (Charybdis) 524dedfba8
Moved patch to custom.css. 2019-02-18 22:43:07 +01:00
Stéphane Adjemian (Charybdis) a112f6789a
Fixed hyperlinks. 2019-02-18 22:36:46 +01:00
Stéphane Adjemian (Charybdis) 28f02e6acb
Under Octave, the "statistics" Forge package is now a requirement.
Manually cherry-picked from 1f84bc051d.
2019-02-18 19:24:42 +01:00
Stéphane Adjemian (Charybdis) ca9cae7226
Document treatment of several Matlab statements in one line.
Manually cherry-picked from 20b51b3c08.
2019-02-18 17:56:37 +01:00
Stéphane Adjemian (Charybdis) 0dfa2546ab
Added remark about rounding in reporting class.
Manually cherry-picked from 266d470668.
2019-02-18 17:46:16 +01:00
Sébastien Villemot 1f84bc051d
Under Octave, the "statistics" Forge package is now a requirement
The gamrnd fallback under matlab/missing/stats/ does not work under Octave
because the +gamrnd/ folder is not accessible (it has the same name as the
function, which does not work under Octave).

Instead of fixing this, rather make the statistics toolbox a requirement, since
anyways it is very easy to obtain under Octave.

Accordingly:
- do not try to run the unit tests of matlab/missing/stats/ under Octave
- merge the matlab/missing/stats-matlab/ into matlab/missing/stats/, since this
  directory is now MATLAB-only.

Also:
- move matlab/distributions/+gamrnd/ under matlab/missing/stats/ for
  consistency
- in the manual: remove obsolete link to Octave downloads on the Dynare
  website; update URL of Octave Forge

Closes #1638
2019-02-18 17:41:10 +01:00
Stéphane Adjemian (Charybdis) cb69610711
Fixed error in example (osr).
Manually cherry-picked from 163c904b49.
2019-02-18 17:40:13 +01:00
Stéphane Adjemian (Charybdis) 57b65956a3
Fixed typo.
Manually cherry-picked from 123ba261b4.
2019-02-18 17:36:36 +01:00
Stéphane Adjemian (Charybdis) 83e2382c35
Added documentation for prior moments(distribution) option.
Manually cherry-picked from 6460a3a1e5.
2019-02-18 17:34:10 +01:00
Stéphane Adjemian (Charybdis) 4ef55c726a
Fixed description of oo_.conditional_variance_decomposition.
Manually cherry-picked from 463e42a18f.
2019-02-18 17:29:24 +01:00
Stéphane Adjemian (Charybdis) 98b9db13a1
Prevent inconsistent specification in estim_params-block.
Manually cherry-picked from 2ba9a8e10b.
2019-02-18 17:12:19 +01:00
Stéphane Adjemian (Charybdis) ccd01ba8ce
Cosmetic fixed in the bibliography.
Manually cherry-picked from bb1642b5b8.
2019-02-18 17:07:52 +01:00
Stéphane Adjemian (Charybdis) 71445c098b
Bumped minimal MATLAB version requirement to 7.9 (R2009b).
Manually cherry-picked from 736d43c4e6.
2019-02-18 17:01:56 +01:00
Stéphane Adjemian (Charybdis) 7a170b9579
Added onlymodel option.
Manually cherry-picked from 2dcaff4f16.
2019-02-18 16:59:55 +01:00
Stéphane Adjemian (Charybdis) 9ccb2050bb
Document mexext and matlabroot options.
Manually cherry-picked from e37549461b.
2019-02-18 16:56:40 +01:00
Stéphane Adjemian (Charybdis) 223c5105f8
The preprocessor now compiles the MEX when use_dll is specified.
Manually cherry-picked from 096936be9c.
2019-02-18 16:13:56 +01:00
Stéphane Adjemian (Charybdis) 3467a47ae3
Dynare computes the excess kurtosis.
Manually cherry-picked from 6a847931dc.
2019-02-18 15:45:48 +01:00
Stéphane Adjemian (Charybdis) b8518079bc
Allowing for different number of periods in conditional_forecast_path.
Manually cherry-picked from 3ad654b9b8.
2019-02-18 15:43:26 +01:00
Stéphane Adjemian (Charybdis) a14ffe6a46
Update URLs for the move to GitLab.
Manually cherry-picked 7b834bef29.
2019-02-18 15:35:25 +01:00
Stéphane Adjemian (Charybdis) 868be78cab
solve_algo=7 and stack_solve_algo=2 are now allowed under Octave.
Manually cherry-picked from d03cc56587.
2019-02-18 15:25:47 +01:00
Stéphane Adjemian (Charybdis) cb61cd98bd
Added on-the-fly variable declaration in equation tags.
Manually cherry-picked 01d5a13082.
2019-02-18 15:20:41 +01:00