Skip to content

Commit 7265934

Browse files
committed
Update test_jacobi.jl
1 parent c43546c commit 7265934

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_jacobi.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,5 +372,10 @@ import ClassicalOrthogonalPolynomials: recurrencecoefficients, basis, MulQuasiMa
372372
@test HalfWeighted{:a}(B) \ (JacobiWeight(a,0) .* B) isa Eye
373373

374374
@test HalfWeighted{:a}(B) \ (x .* HalfWeighted{:a}(B)) isa LazyBandedMatrices.Tridiagonal
375+
376+
@test (D * HalfWeighted{:a}(Normalized(B)) * (Normalized(B) \ exp.(x)))[0.1] (-a + 1-0.1)*(1-0.1)^(a-1) *exp(0.1)
377+
@test (D * HalfWeighted{:b}(Normalized(B)) * (Normalized(B) \ exp.(x)))[0.1] (b + 1+0.1) * (1+0.1)^(b-1)*exp(0.1)
378+
379+
@test (D * Weighted(Jacobi(0,0.1)))[0.1,1:10] (D * HalfWeighted{:b}(Jacobi(0,0.1)))[0.1,1:10]
375380
end
376381
end

0 commit comments

Comments
 (0)