Skip to content

Commit

Permalink
bits and bobs
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSlevinsky committed Nov 1, 2024
1 parent 69b7317 commit 1bd226e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GramMatrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ abstract type AbstractGramMatrix{T} <: LayoutMatrix{T} end
"""
GramMatrix(W::AbstractMatrix, X::AbstractMatrix)
Construct a Gram matrix of size ``size(W)`` with data stored in ``W``.
Construct a symmetric positive-definite Gram matrix with data stored in ``W``.
Given a family of orthogonal polynomials ``{\\bf P}(x) = \\{p_0(x), p_1(x),\\ldots\\}``
and a continuous inner product ``\\langle f, g\\rangle``, the Gram matrix is defined by:
```math
Expand Down Expand Up @@ -161,7 +161,7 @@ end
"""
ChebyshevGramMatrix(μ::AbstractVector)
Construct a Chebyshev--Gram matrix of size ``(length(μ)+1)÷2`` with entries:
Construct a Chebyshev--Gram matrix of size `(length(μ)+1)÷2` with entries:
```math
W_{i,j} = \\frac{\\mu_{|i-j|+1} +\\mu_{i+j-1}}{2}.
```
Expand Down

0 comments on commit 1bd226e

Please sign in to comment.