Skip to content

Commit bd1a1d3

Browse files
authored
Laguerre derivative on real line (#144)
1 parent 0cb6e7d commit bd1a1d3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Spaces/Laguerre/Laguerre.jl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ end
154154
points(L::Laguerre,n) = map(x -> mappoint(Ray(),L.domain,x), gausslaguerre(n,1.0L.α)[1])
155155

156156

157-
# TODO: Separate off a real case for the real axis.
157+
function _toeplitzop_laguerrederiv(L::Laguerre, k)
158+
d = L.domain
159+
c = cisangle(d)
160+
ToeplitzOperator(typeof(c)[], [zeros(k); (-1.)^k] * conj(c)/d.L)
161+
end
158162
Derivative(L::Laguerre,k) =
159-
DerivativeWrapper(SpaceOperator(ToeplitzOperator(Complex{Float64}[],[zeros(k);(-1.)^k]*conj(cisangle(L.domain))/L.domain.L),
160-
L,Laguerre(L.α+k,L.domain)))
163+
DerivativeWrapper(SpaceOperator(_toeplitzop_laguerrederiv(L, k),
164+
L, Laguerre(L.α+k,L.domain)))
161165

162166

163167
union_rule(A::Laguerre,B::Laguerre) = Laguerre(min(A.α,B.α))

0 commit comments

Comments
 (0)