Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
3262e609
Commit
3262e609
authored
Jun 23, 2011
by
Ferhat Mihoubi
Committed by
Stéphane Adjemian
Jun 23, 2011
Browse files
- use gensylv instead of sylvester3 to solve the Sylvester equation
parent
99310d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dr_block.m
View file @
3262e609
...
...
@@ -564,7 +564,7 @@ for i = 1:Size;
% A_ * gx + B_ * gx * C_ + D_ = 0
%vghx_other = - inv(kron(eye(size(D_,2)), A_) + kron(C_', B_)) * vec(D_);
%ghx_other = reshape(vghx_other, size(D_,1), size(D_,2));
ghx_other
=
sylv
ester3
(
A_
,
B_
,
C_
,
-
D_
);
[
err
,
ghx_other
]
=
gen
sylv
(
1
,
A_
,
B_
,
C_
,
-
D_
);
if
options_
.
aim_solver
~=
1
&&
options_
.
use_qzdiv
% Necessary when using Sims' routines for QZ
ghx_other
=
real
(
ghx_other
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment