Skip to content

Commit

Permalink
Correct typos caught by Divya Sanghi
Browse files Browse the repository at this point in the history
  • Loading branch information
bbahiam committed Feb 29, 2024
1 parent d8972bb commit 6937337
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sharpy/linear/src/lingebm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1477,10 +1477,10 @@ def newmark_ss(M, C, K, dt, num_damp=1e-4, M_is_SPD=False):
\mathbf{f}_n
] \\
\begin{Bmatrix}
\mathbf{\dot q}_{n} \\
\mathbf{\ddot q}_{n}
\mathbf{q}_{n} \\
\mathbf{\dot q}_{n}
\end{Bmatrix}
&= \mathbf{x}_n + \mathbf{B_{ss1}} \mathbf{f}_n
&= \mathbf{x}_n + \mathbf{A_{ss1}}^{-1}\mathbf{B_{ss1}} \mathbf{f}_n
See also :func:`sharpy.linear.src.libss.SSconv` for more details on the elimination of the term
multiplying :math:`\mathbf{f}_{n+1}` in the state equation.
Expand All @@ -1498,7 +1498,7 @@ def newmark_ss(M, C, K, dt, num_damp=1e-4, M_is_SPD=False):
\mathbf{B_{ss}} &= \mathbf{A_{ss1}}^{-1}(\mathbf{B_{ss0}}
+ \mathbf{A_{ss0}}\mathbf{A_{ss1}}^{-1}\mathbf{B_{ss1}}) \\
\mathbf{C_{ss}} &= \mathbf{I} \\
\mathbf{D_{ss}} &= \mathbf{B_{ss1}}
\mathbf{D_{ss}} &= \mathbf{A_{ss1}}^{-1}\mathbf{B_{ss1}}
.. admonition:: Notation is used in the code
Expand Down

0 comments on commit 6937337

Please sign in to comment.