We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08673ab commit fe2eb0aCopy full SHA for fe2eb0a
test/JacobiTest.jl
@@ -60,6 +60,22 @@ import ApproxFunOrthogonalPolynomials: jacobip
60
@testset "Derivative" begin
61
D=Derivative(Jacobi(0.,1.,Segment(1.,0.)))
62
@time testbandedoperator(D)
63
+
64
+ f = Fun(x->x^2, Chebyshev())
65
+ C = Chebyshev()
66
+ @testset for J = Any[Jacobi(-0.5, -0.5), Legendre()]
67
+ if ApproxFunBase.hasconversion(C, J)
68
+ g = (Derivative(J) * Conversion(C, J)) * f
69
+ h = Derivative(C) * f
70
+ @test g ≈ h
71
+ end
72
73
+ if ApproxFunBase.hasconversion(J, C)
74
+ g = (Derivative(C) * Conversion(J, C)) * f
75
+ h = Derivative(J) * f
76
77
78
79
end
80
81
@testset "identity Fun for interval domains" begin
0 commit comments