-
- Downloads
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=().
Showing
- dynare++/extern/matlab/dynare_simul.cc 2 additions, 2 deletionsdynare++/extern/matlab/dynare_simul.cc
- dynare++/kord/decision_rule.cc 2 additions, 2 deletionsdynare++/kord/decision_rule.cc
- dynare++/kord/decision_rule.hh 4 additions, 8 deletionsdynare++/kord/decision_rule.hh
- dynare++/kord/tests.cc 2 additions, 2 deletionsdynare++/kord/tests.cc
- dynare++/sylv/cc/GeneralMatrix.cc 11 additions, 1 deletiondynare++/sylv/cc/GeneralMatrix.cc
- dynare++/sylv/cc/GeneralMatrix.hh 29 additions, 12 deletionsdynare++/sylv/cc/GeneralMatrix.hh
- dynare++/sylv/cc/GeneralSylvester.cc 8 additions, 8 deletionsdynare++/sylv/cc/GeneralSylvester.cc
- dynare++/sylv/cc/QuasiTriangular.cc 1 addition, 1 deletiondynare++/sylv/cc/QuasiTriangular.cc
- dynare++/sylv/cc/QuasiTriangularZero.cc 2 additions, 3 deletionsdynare++/sylv/cc/QuasiTriangularZero.cc
- dynare++/sylv/cc/SchurDecomp.hh 1 addition, 1 deletiondynare++/sylv/cc/SchurDecomp.hh
- dynare++/sylv/cc/SimilarityDecomp.cc 1 addition, 1 deletiondynare++/sylv/cc/SimilarityDecomp.cc
- dynare++/sylv/cc/SylvMatrix.hh 5 additions, 10 deletionsdynare++/sylv/cc/SylvMatrix.hh
- dynare++/sylv/cc/SymSchurDecomp.cc 1 addition, 1 deletiondynare++/sylv/cc/SymSchurDecomp.cc
- dynare++/sylv/cc/SymSchurDecomp.hh 1 addition, 1 deletiondynare++/sylv/cc/SymSchurDecomp.hh
- dynare++/sylv/testing/MMMatrix.cc 1 addition, 1 deletiondynare++/sylv/testing/MMMatrix.cc
- dynare++/sylv/testing/MMMatrix.hh 3 additions, 3 deletionsdynare++/sylv/testing/MMMatrix.hh
- dynare++/tl/cc/kron_prod.cc 2 additions, 2 deletionsdynare++/tl/cc/kron_prod.cc
- dynare++/tl/cc/twod_matrix.cc 7 additions, 0 deletionsdynare++/tl/cc/twod_matrix.cc
- dynare++/tl/cc/twod_matrix.hh 14 additions, 8 deletionsdynare++/tl/cc/twod_matrix.hh
- mex/sources/k_order_perturbation/k_order_perturbation.cc 3 additions, 3 deletionsmex/sources/k_order_perturbation/k_order_perturbation.cc
Loading
Please register or sign in to comment