Commit Graph

11455 Commits (c44545bb18ef410d18b932a2870e95bccb0c993d)

Author SHA1 Message Date
Sébastien Villemot c44545bb18
Dynare++: add some comments 2019-02-26 12:43:04 +01:00
Sébastien Villemot 52ec6b4e93
Under Debian, texlive-generic-extra is now required 2019-02-26 12:14:17 +01:00
Sébastien Villemot f2f12b4701 Merge branch 'fix-for-pdf-dynare-manual-path' into 'master'
Fixed path to reference manual (pdf) when building windows package.

See merge request Dynare/dynare!1647
2019-02-25 22:10:45 +00:00
Stéphane Adjemian (Charybdis) c0812754ee
Fixed path to reference manual (pdf) when building windows package. 2019-02-25 22:39:04 +01:00
Sébastien Villemot cbf09080f9
Octave compatibility fix 2019-02-25 17:46:40 +01:00
Sébastien Villemot cda0b3192a
Add missing Python files in tarball 2019-02-25 17:46:40 +01:00
Stéphane Adjemian (Charybdis) 45fbfe4dce
Adapted disp_dr for new auxilary variables.
diffs, lagged diffs and leaded diffs.
2019-02-25 17:18:54 +01:00
Sébastien Villemot d4217c02b0
Provisions for Octave 5 2019-02-25 15:28:24 +01:00
Sébastien Villemot 073f5dd6f7
Fix function header 2019-02-25 15:28:23 +01:00
Sébastien Villemot ae230fcd92
Really remove the old Texinfo manual 2019-02-25 15:28:23 +01:00
Sébastien Villemot 870d75857c
Simplification for missing nanmean
Handle it as other functions from the Statistics toolbox
2019-02-25 15:28:23 +01:00
Stéphane Adjemian (Charybdis) d81545941e
Cosmetic changes. 2019-02-25 14:54:57 +01:00
Stéphane Adjemian (Charybdis) d6e6b29620
Removed unused global it_. 2019-02-25 14:54:57 +01:00
Stéphane Adjemian (Charybdis) b0f0ba43ca
Added files generated by python in .gitignore. 2019-02-25 14:54:57 +01:00
Stéphane Adjemian (Charybdis) 84cdf6d142
Removed unnecessary square brackets. 2019-02-25 14:54:56 +01:00
Sébastien Villemot 82e7f9250d
Dynare++: make the sparse tensors assignable 2019-02-22 17:44:07 +01:00
Sébastien Villemot 8751de896b
Dynare++: make tensor containers assignable 2019-02-22 16:54:00 +01:00
Sébastien Villemot 58bdee12c3
Dynare++ tensor library: refactor static stuff
- encapsulate it more clearly
- make it thread safe
- put back the Pascal triangle initialization stuff removed in 9512a32ad0
2019-02-21 19:00:50 +01:00
Sébastien Villemot c8a234b653
Remove obsolete .gitignore 2019-02-21 17:35:26 +01:00
Sébastien Villemot c7eb9c096a
CI: shorten lifetime of manual artifact (it's big since it contains MathJax) 2019-02-21 17:12:13 +01:00
Sébastien Villemot 8c906a6e7e
Add files missing in e5f938a8e 2019-02-21 17:06:47 +01:00
Sébastien Villemot 60054af97e
Manual: the minimal requirement is now the same on macOS as on other platforms 2019-02-21 17:02:51 +01:00
Sébastien Villemot 6df3b5aa31
Manual: recommend "apt" instead of "apt-get" under Debian 2019-02-21 17:02:18 +01:00
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