No BSD License  

Highlights from
LYAPACK

from LYAPACK by Volker Mehrmann
LYAPACK toolbox provides solutions for certain large scale problems related to Lyapunov equations.

msns_l_i
function msns_l_i
%
%  Generates the data used in 'msns_l'. Data are stored in global
%  variables.
%
%  Calling sequence:
%
%    msns_l_i
%
%  Remarks:
% 
%    Call 'msns_m_i' before calling this routine.
%
%
%  LYAPACK 1.0 (Thilo Penzl, October 1999)


global LP_N LP_NU

if ~length(LP_N)
  error('This routine needs global data which must be generated by calling ''msns_m_i'' first.');
end 

[LP_NU,t] = chol(-LP_N);        % Note the minus!

if t~=0
  error('N is not (numerically) negative definite!');
end



Contact us at files@mathworks.com