Skip to content

Commit 57e5602

Browse files
polynomial degrees rendered poorly
1 parent 91ef2ad commit 57e5602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GramMatrix.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Construct a symmetric positive-definite Gram matrix with data stored in ``W``.
2828
Given a family of orthogonal polynomials ``𝐏(x) = {p₀(x), p₁(x),…}``
2929
and a continuous inner product ``⟨f, g⟩``, the Gram matrix is defined by:
3030
```math
31-
W[i, j] = ⟨pᵢ₋₁, pⱼ₋₁⟩.
31+
W[i, j] = ⟨p_{i-1}, p_{j-1}⟩.
3232
```
3333
Moreover, given ``X``, the transposed Jacobi matrix that satisfies ``x 𝐏(x) = 𝐏(x) X``,
3434
the Gram matrix satisfies the skew-symmetric rank-2 displacement equation (``X = X[1:n, 1:n]``):
@@ -37,7 +37,7 @@ XᵀW - WX = GJGᵀ,
3737
```
3838
where ``J = [0 1; -1 0]`` and where:
3939
```math
40-
G[:, 1] = 𝐞ₙ, \\quad G[:, 2] = W[n-1, :]X[n-1, n] - Xᵀ W[:, n].
40+
G[:, 1] = 𝐞_n, \\quad G[:, 2] = W[n-1, :]X[n-1, n] - Xᵀ W[:, n].
4141
```
4242
Fast (``O(n^2)``) Cholesky factorization of the Gram matrix returns the
4343
connection coefficients between ``𝐏(x)`` and the polynomials ``𝐐(x)``

0 commit comments

Comments
 (0)