@@ -42,16 +42,16 @@ def canonical_form(xsys, form='reachable'):
4242 --------
4343 >>> Gs = ct.tf2ss([1], [1, 3, 2])
4444 >>> Gc, T = ct.canonical_form(Gs) # default reachable
45- >>> Gc.B.round()
45+ >>> Gc.B
4646 array([[1.],
4747 [0.]])
4848
4949 >>> Gc, T = ct.canonical_form(Gs, 'observable')
50- >>> Gc.C.round()
50+ >>> Gc.C
5151 array([[1., 0.]])
5252
5353 >>> Gc, T = ct.canonical_form(Gs, 'modal')
54- >>> Gc.A.round() # doctest: +SKIP
54+ >>> Gc.A
5555 array([[-2., 0.],
5656 [ 0., -1.]])
5757
@@ -89,7 +89,7 @@ def reachable_form(xsys):
8989 --------
9090 >>> Gs = ct.tf2ss([1], [1, 3, 2])
9191 >>> Gc, T = ct.reachable_form(Gs) # default reachable
92- >>> Gc.B.round()
92+ >>> Gc.B
9393 array([[1.],
9494 [0.]])
9595
@@ -152,7 +152,7 @@ def observable_form(xsys):
152152 --------
153153 >>> Gs = ct.tf2ss([1], [1, 3, 2])
154154 >>> Gc, T = ct.observable_form(Gs)
155- >>> Gc.C.round()
155+ >>> Gc.C
156156 array([[1., 0.]])
157157
158158 """
@@ -217,13 +217,13 @@ def similarity_transform(xsys, T, timescale=1, inverse=False):
217217 Examples
218218 --------
219219 >>> Gs = ct.tf2ss([1], [1, 3, 2])
220- >>> Gs.A.round()
220+ >>> Gs.A
221221 array([[-3., -2.],
222222 [ 1., 0.]])
223223
224224 >>> T = np.array([[0, 1], [1, 0]])
225225 >>> Gt = ct.similarity_transform(Gs, T)
226- >>> Gt.A.round()
226+ >>> Gt.A
227227 array([[ 0., 1.],
228228 [-2., -3.]])
229229
@@ -508,7 +508,7 @@ def modal_form(xsys, condmax=None, sort=False):
508508 --------
509509 >>> Gs = ct.tf2ss([1], [1, 3, 2])
510510 >>> Gc, T = ct.modal_form(Gs) # default reachable
511- >>> Gc.A.round() # doctest: +SKIP
511+ >>> Gc.A
512512 array([[-2., 0.],
513513 [ 0., -1.]])
514514
0 commit comments