Skip to content

Commit 81510a5

Browse files
committed
additional cleanup of math lines in iosys
1 parent 1c16d62 commit 81510a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

control/iosys.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ def _find_size(sysval, vecval):
22732273

22742274
# Define a state space object that is an I/O system
22752275
def ss(*args, **kwargs):
2276-
"""ss(A, B, C, D[, dt])
2276+
r"""ss(A, B, C, D[, dt])
22772277
22782278
Create a state space system.
22792279
@@ -2293,18 +2293,18 @@ def ss(*args, **kwargs):
22932293
output equations:
22942294
22952295
.. math::
2296-
\\dot x = A \\cdot x + B \\cdot u
22972296
2298-
y = C \\cdot x + D \\cdot u
2297+
dx/dt &= A x + B u \\
2298+
y &= C x + D u
22992299
23002300
``ss(A, B, C, D, dt)``
23012301
Create a discrete-time state space system from the matrices of
23022302
its state and output equations:
23032303
23042304
.. math::
2305-
x[k+1] = A \\cdot x[k] + B \\cdot u[k]
23062305
2307-
y[k] = C \\cdot x[k] + D \\cdot u[ki]
2306+
x[k+1] &= A x[k] + B u[k] \\
2307+
y[k] &= C x[k] + D u[k]
23082308
23092309
The matrices can be given as *array like* data types or strings.
23102310
Everything that the constructor of :class:`numpy.matrix` accepts is

0 commit comments

Comments
 (0)