Skip to content

Commit 12935ec

Browse files
committed
Update test_rectdisk.jl
1 parent fa7f102 commit 12935ec

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/test_rectdisk.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,17 @@ using ForwardDiff
109109
@test stringmime("text/plain", DunklXuDisk()) == "DunklXuDisk(0)"
110110
@test stringmime("text/plain", DunklXuDiskWeight(0)) == "(1-x^2-y^2)^0 on the unit disk"
111111
end
112+
113+
@testset "ladder operators" begin
114+
x,y = 𝐱 = SVector(0.1,0.2)
115+
ρ = sqrt(1-x^2)
116+
ρ′ = -x/ρ
117+
n,k = 3,1
118+
P = DunklXuDisk()
119+
K = Block(n+1)[k+1]
120+
@test Jacobi(k+1/2,k+1/2)[x,n-k+1] * ρ^k * diff(Legendre())[y/ρ,k+1] ρ * diff(P,(0,1))[ 𝐱 ,K]
121+
@test diff(Jacobi(k+1/2,k+1/2))[x,n-k+1] * ρ^(k+1) * Legendre()[y/ρ,k+1] -k*ρ′*P[𝐱,K] + y*ρ′*diff(P,(0,1))[𝐱,K] + ρ * diff(P,(1,0))[𝐱,K]
122+
123+
124+
end
112125
end

0 commit comments

Comments
 (0)