From 419024edc492d2513e05a2af94cc7f2d133338d9 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Wed, 17 Jun 2026 13:51:10 +0100 Subject: [PATCH] move diff w/ tuple support to QuasiArrays.jl --- Project.toml | 2 +- src/MultivariateOrthogonalPolynomials.jl | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Project.toml b/Project.toml index fb6c6eb..9b4d4be 100644 --- a/Project.toml +++ b/Project.toml @@ -44,7 +44,7 @@ InfiniteArrays = "0.15" InfiniteLinearAlgebra = "0.10" LazyArrays = "2.3.1" LazyBandedMatrices = "0.11.7" -QuasiArrays = "0.13.3" +QuasiArrays = "0.13.9" Random = "1" RecurrenceRelationships = "0.2" SpecialFunctions = "1, 2" diff --git a/src/MultivariateOrthogonalPolynomials.jl b/src/MultivariateOrthogonalPolynomials.jl index fabbef7..4cbd206 100644 --- a/src/MultivariateOrthogonalPolynomials.jl +++ b/src/MultivariateOrthogonalPolynomials.jl @@ -41,14 +41,6 @@ abslaplacian_axis(::Inclusion{<:SVector{2}}, A; dims...) = -(diff(A, (2,0); dims coordinates(P::AbstractQuasiArray) = (first.(axes(P,1)), last.(axes(P,1))) coordinates(P::Domain) = coordinates(Inclusion(P)) -function diff_layout(::AbstractBasisLayout, a, (k,j)::NTuple{2,Int}; dims...) - (k < 0 || j < 0) && throw(ArgumentError("order must be non-negative")) - k == j == 0 && return a - ((k,j) == (1,0) || (k,j) == (0,1)) && return diff(a, Val((k,j)); dims...) - k ≥ j && return diff(diff(a, (1,0)), (k-1,j)) - diff(diff(a, (0,1)), (k,j-1)) -end - include("ModalInterlace.jl") include("clenshawkron.jl")