comparison scripts/polynomial/polyeig.m @ 15197:0c0f4eef30f4

* polyeig.m: Missing semicolon in test.
author John W. Eaton <jwe@octave.org>
date Sat, 18 Aug 2012 18:26:11 -0400
parents ee9b1270c25a
children e3dc9ff8e0f2
comparison
equal deleted inserted replaced
15196:017f0b2e6933 15197:0c0f4eef30f4
84 84
85 %!test 85 %!test
86 %! C0 = [8, 0; 0, 4]; C1 = [1, 0; 0, 1]; 86 %! C0 = [8, 0; 0, 4]; C1 = [1, 0; 0, 1];
87 %! [v,z] = polyeig (C0, C1); 87 %! [v,z] = polyeig (C0, C1);
88 %! assert (isequal (z(1), -8), true); 88 %! assert (isequal (z(1), -8), true);
89 %! d = C0*v + C1*v*z 89 %! d = C0*v + C1*v*z;
90 %! assert (isequal (norm(d), 0.0), true); 90 %! assert (isequal (norm(d), 0.0), true);