Skip to content
Snippets Groups Projects
Commit a69c78c0 authored by michel's avatar michel
Browse files

v3, dr1.m: added test of existence of gensylv

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v3@566 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 3aaefa94
No related branches found
No related tags found
No related merge requests found
......@@ -425,12 +425,15 @@ for i=1:ykmax_-1
k0 = k1;
offset = offset + n1;
end
%C = kron(hx,hx);
C = hx;
D = [rhs; zeros(n-endo_nbr,size(rhs,2))];
%x0 = sylvester3(A,B,C,D);
%dr.ghxx = sylvester3a(x0,A,B,C,D);
if exist('gensylv')
C = hx;
dr.ghxx = gensylv(2,A,B,C,D);
else
C = kron(hx,hx);
x0 = sylvester3(A,B,C,D);
dr.ghxx = sylvester3a(x0,A,B,C,D);
end
%ghxu
%rhs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment