Mercurial > octave
comparison scripts/polynomial/compan.m @ 23083:e9a0469dedd9 stable
maint: strip extra trailing newlines from files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 20 Jan 2017 12:19:08 -0500 |
parents | bac0d6f07a3e |
children | ef4d915df748 3ac9f9ecfae5 |
comparison
equal
deleted
inserted
replaced
23082:e8d64dce0afd | 23083:e9a0469dedd9 |
---|---|
85 %!assert (isempty (compan (4))) | 85 %!assert (isempty (compan (4))) |
86 %!assert (compan ([3, 2, 1]), [-2/3, -1/3; 1, 0]) | 86 %!assert (compan ([3, 2, 1]), [-2/3, -1/3; 1, 0]) |
87 | 87 |
88 %!error compan ([1,2;3,4]) | 88 %!error compan ([1,2;3,4]) |
89 %!error compan ([]) | 89 %!error compan ([]) |
90 |