dynare/dynare++/kord
Sébastien Villemot 1ef1dedc65
Refactor GeneralMatrix and ConstGeneralMatrix classes
- Remove the GeneralMatrix(const ConstVector &) constructor, since it is hides
  a memory allocation (copying the ConstVector into a fresh Vector). This
  helped detecting and fixing several unneeded memory allocations. Some other
  memory allocations are now more visible (with an explicit Vector{}
  constructor).

- Add checks in GeneralMatrix(Vector, …) and ConstGeneralMatrix(ConstVector, …)
  constructors for verifying that the {Const,}Vector has unit-stride (this was
  an implicit assumption so far) and is large enough for storing rows*cols
  elements.

- Add GeneralMatrix::operator=(const ConstGeneralMatrix &).

- Delete ConstGeneralMatrix::operator=().
2019-01-24 15:27:23 +01:00
..
Makefile.am dynare++/kord: move away from CWEB 2019-01-04 16:32:05 +01:00
approximation.cc Dynare++ / sylvester equation solver: refactor Vector and ConstVector classes 2019-01-22 16:13:22 +01:00
approximation.hh Port to C++11 using keyword 2019-01-09 17:21:14 +01:00
decision_rule.cc Refactor GeneralMatrix and ConstGeneralMatrix classes 2019-01-24 15:27:23 +01:00
decision_rule.hh Refactor GeneralMatrix and ConstGeneralMatrix classes 2019-01-24 15:27:23 +01:00
dynamic_model.cc Port to C++11 auto keyword 2019-01-09 15:51:19 +01:00
dynamic_model.hh Dynare++ / sylvester equation solver: refactor Vector and ConstVector classes 2019-01-22 16:13:22 +01:00
faa_di_bruno.cc Port to C++11 auto keyword 2019-01-09 15:51:19 +01:00
faa_di_bruno.hh dynare++ / tensor library (TL): move away from CWEB 2019-01-08 16:09:25 +01:00
first_order.cc Dynare++: ensure that all calls to BLAS/LAPACK use the correct LD values 2019-01-24 15:27:09 +01:00
first_order.hh dynare++/kord: move away from CWEB 2019-01-04 16:32:05 +01:00
global_check.cc Dynare++ / sylvester equation solver: refactor Vector and ConstVector classes 2019-01-22 16:13:22 +01:00
global_check.hh Dynare++ / sylvester equation solver: refactor Vector and ConstVector classes 2019-01-22 16:13:22 +01:00
journal.cc Port to C++11 nullptr keyword 2019-01-09 16:25:31 +01:00
journal.hh Port to C++11 using keyword 2019-01-09 17:21:14 +01:00
kord_exception.hh Port to C++11 syntax for default constructors 2019-01-09 16:16:29 +01:00
korder.cc Dynare++: ensure that all calls to BLAS/LAPACK use the correct LD values 2019-01-24 15:27:09 +01:00
korder.hh Use C++14 std::conditional_t (instead of custom IF template) 2019-01-09 17:26:28 +01:00
korder_stoch.cc Port to C++11 nullptr keyword 2019-01-09 16:25:31 +01:00
korder_stoch.hh Port to C++11 using keyword 2019-01-09 17:21:14 +01:00
mersenne_twister.hh Port to C++11 using keyword 2019-01-09 17:21:14 +01:00
normal_conjugate.cc Dynare++ / sylvester equation solver: refactor Vector and ConstVector classes 2019-01-22 16:13:22 +01:00
normal_conjugate.hh Port to C++11 syntax for default constructors 2019-01-09 16:16:29 +01:00
random.cc dynare++/kord: move away from CWEB 2019-01-04 16:32:05 +01:00
random.hh Port to C++11 override keyword 2019-01-09 16:26:42 +01:00
tests.cc Refactor GeneralMatrix and ConstGeneralMatrix classes 2019-01-24 15:27:23 +01:00