Skip to content

Commit

Permalink
Merge pull request #58 from maxstrobel/patch-1
Browse files Browse the repository at this point in the history
Bugfix in corrmtx docs
  • Loading branch information
cokelaer committed Jan 21, 2020
2 parents cd0eac7 + d222d68 commit ecc2924
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/spectrum/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def corrmtx(x_input, m, method='autocorrelation'):
.. rubric:: Algorithm details:
The **autocorrelation** matrix is a :math:`(N+p) \times (p+1)` rectangular Toeplilz
The **autocorrelation** matrix is a :math:`(N+p) \times (p+1)` rectangular Toeplitz
data matrix:
.. math:: X_p = \begin{pmatrix}L_p\\T_p\\Up\end{pmatrix}
Expand All @@ -103,9 +103,9 @@ def corrmtx(x_input, m, method='autocorrelation'):
.. math:: T_p =
\begin{pmatrix}
x[p+1] & \cdots & x[1] \\
\vdots & \ddots & \vdots \\
x[N-p] & \cdots & x[p+1] \\
\vdots & \ddots & \vdots \\
x[p+2] & \cdots & x[2] \\
\vdots & \ddots & \vdots \\
x[N-1] & \cdots & x[N-p-1] \\
x[N] & \cdots & x[N-p]
\end{pmatrix}
Expand Down

0 comments on commit ecc2924

Please sign in to comment.