File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -144,19 +144,22 @@ end
144
144
S = Jacobi (half (Odd (1 )), half (Odd (3 )))
145
145
@test @inferred (domainspace (@inferred Multiplication (f,S))) == S
146
146
147
- @testset for β in 0 : 5 , α in 0 : 5
147
+ @testset for β in 0 : 0.5 : 5 , α in 0 : 0.5 : 5
148
148
f = genf (β, α)
149
- g = Fun (x-> (1 + x)^ 2 * (1 + x)^ β * (1 - x)^ α)
149
+ g = Fun (x-> (1 + x)^ 2 * (1 + x)^ β * (1 - x)^ α, JacobiWeight (β + 2 , α, Chebyshev ()) )
150
150
@testset for b in 0 : 8 , a in 0 : 8
151
151
S = Jacobi (b,a)
152
152
w = Fun (x-> (1 + x)^ 2 , S)
153
153
M = Multiplication (f, S)
154
154
@test domainspace (M) == S
155
- if b >= β && a >= α
155
+ if isinteger (β) && isinteger (α) && b >= β && a >= α
156
156
@test rangespace (M) == Jacobi (b- β, a- α)
157
- end
158
- if b < β && a < α
157
+ elseif isinteger (β) && isinteger (α) && b < β && a < α
159
158
@test rangespace (M) == JacobiWeight (β- b, α- a, Legendre ())
159
+ elseif ! isinteger (β) && (! isinteger (α) || α == 0 )
160
+ @test rangespace (M) == JacobiWeight (β, α, S)
161
+ elseif ! isinteger (α) && (! isinteger (β) || β == 0 )
162
+ @test rangespace (M) == JacobiWeight (β, α, S)
160
163
end
161
164
@test Multiplication (f) * w ≈ M * w ≈ g
162
165
end
You can’t perform that action at this time.
0 commit comments