Skip to content

Commit 81008b0

Browse files
authored
ContinuumArrays v0.16 (#164)
* ContinuumArrays v0.16 * add tests
1 parent fb2482b commit 81008b0

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "MultivariateOrthogonalPolynomials"
22
uuid = "4f6956fd-4f93-5457-9149-7bfc4b2ce06d"
3-
version = "0.6"
3+
version = "0.6.1"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
@@ -29,7 +29,7 @@ BandedMatrices = "0.17.30"
2929
BlockArrays = "0.16.14"
3030
BlockBandedMatrices = "0.12.5"
3131
ClassicalOrthogonalPolynomials = "0.11"
32-
ContinuumArrays = "0.15"
32+
ContinuumArrays = "0.15, 0.16"
3333
DomainSets = "0.6"
3434
FastTransforms = "0.15"
3535
FillArrays = "1.0"

src/rect.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ function show(io::IO, P::KronPolynomial)
1616
end
1717
end
1818

19+
==(A::KronPolynomial, B::KronPolynomial) = length(A.args) == length(B.args) && all(map(==, A.args, B.args))
20+
1921
const RectPolynomial{T, PP} = KronPolynomial{2, T, PP}
2022

2123

src/rectdisk.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ end
3030

3131
DunklXuDiskWeight::T) where T = DunklXuDiskWeight{float(T),T}(β)
3232

33+
==(a::DunklXuDiskWeight, b::DunklXuDiskWeight) = a.β == b.β
34+
3335
axes(P::DunklXuDiskWeight{T}) where T = (Inclusion(UnitDisk{T}()),)
3436

3537
show(io::IO, P::DunklXuDiskWeight) = summary(io, P)

test/test_rect.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ import ClassicalOrthogonalPolynomials: expand
7474
= RectPolynomial(W, W)
7575
= RectPolynomial(P, P)
7676
= RectPolynomial(Q, Q)
77+
78+
@test== RectPolynomial(Jacobi(0,0), Jacobi(0,0))
79+
7780
𝐱 = axes(W²,1)
7881
D_x,D_y = PartialDerivative{1}(𝐱),PartialDerivative{2}(𝐱)
7982
Δ =\(D_x^2 + D_y^2)*

test/test_rectdisk.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ import MultivariateOrthogonalPolynomials: dunklxu_raising, dunklxu_lowering, Ang
2424
WP = WeightedDunklXuDisk(β)
2525
WQ = WeightedDunklXuDisk+1)
2626

27+
@test WP WQ
28+
@test WP == WP
29+
2730
x, y = first.(axes(P, 1)), last.(axes(P, 1))
2831

2932
L = WP \ WQ

0 commit comments

Comments
 (0)