Skip to content

Commit 001c4a7

Browse files
committed
Update hermite.jl
1 parent 7f316a3 commit 001c4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classical/hermite.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ broadcasted(::LazyQuasiArrayStyle{2}, ::typeof(*), ::HermiteWeight{T}, ::Hermite
5454
# 1/2 * H_{n+1} + n H_{n-1} = x H_n
5555
# x*[H_0 H_1 H_2 …] = [H_0 H_1 H_2 …] * [0 1; 1/2 0 2; 1/2 0 3; …]
5656
jacobimatrix(H::Hermite{T}) where T = Tridiagonal(Fill(one(T)/2,∞), Zeros{T}(∞), one(T):∞)
57-
recurrencecoefficients(H::Hermite) where T = Fill(2,∞), Zeros{Int}(∞), 0:2:
57+
recurrencecoefficients(H::Hermite) = Fill(2,∞), Zeros{Int}(∞), 0:2:
5858

5959
weightedgrammatrix(::Hermite{T}) where T = Diagonal(sqrt(convert(T,π)) .* convert(T,2) .^ (0:∞) .* gamma.(one(T):∞))
6060

0 commit comments

Comments
 (0)