1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) ????-2008 - INRIA - Serge Steer
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
10 if sld.dt<>0.1 then bugmes();quit;end
11 if sld.A<>exp(sl.A*0.1) then bugmes();quit;end
12 if norm(sld.B-sl.A\(sld.A-eye())*sl.B)>1d-15 then bugmes();quit;end
13 a=[0.9,0,0.6,-1.4,-4.2;
16 -3.7,-0.5,2.4,-0.6,2.7;
27 sl=syslin('c',a,b,c,d);
29 if sld.dt<>0.1 then bugmes();quit;end
30 if norm(sld.A-expm(sl.A*0.1))>1d-15 then bugmes();quit;end
31 if norm(sld.B-sl.A\(sld.A-eye())*sl.B)>1d-14 then bugmes();quit;end