Skip to content

Commit 1c594ca

Browse files
committed
Fix math not displaying correctly in documentation
This also fixes the following warnings: python-control/control/statefbk.py:docstring of control.lqe:6: WARNING: Unexpected indentation. python-control/control/statefbk.py:docstring of control.lqe:36: WARNING: Unexpected indentation.
1 parent 10ba25e commit 1c594ca

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

control/statefbk.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,11 @@ def lqe(A, G, C, QN, RN, NN=None):
228228
systems. Given the system
229229
230230
Given the system
231+
231232
.. math::
232-
x = Ax + Bu + Gw
233-
y = Cx + Du + v
233+
234+
x &= Ax + Bu + Gw \\\\
235+
y &= Cx + Du + v
234236
235237
with unbiased process noise w and measurement noise v with covariances
236238
@@ -260,7 +262,9 @@ def lqe(A, G, C, QN, RN, NN=None):
260262
Kalman estimator gain
261263
P: 2D array
262264
Solution to Riccati equation
265+
263266
.. math::
267+
264268
A P + P A^T - (P C^T + G N) R^-1 (C P + N^T G^T) + G Q G^T = 0
265269
E: 1D array
266270
Eigenvalues of estimator poles eig(A - L C)

0 commit comments

Comments
 (0)