Skip to content

Commit

Permalink
remove Abs/Laplacian
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Jan 26, 2025
1 parent a8eee56 commit 0b74c33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/HarmonicOrthogonalPolynomials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import FastTransforms: Plan, interlace
import QuasiArrays: LazyQuasiMatrix, LazyQuasiArrayStyle
import InfiniteArrays: InfStepRange, RangeCumsum

export SphericalHarmonic, UnitSphere, SphericalCoordinate, RadialCoordinate, Block, associatedlegendre, RealSphericalHarmonic, sphericalharmonicy, Laplacian, AbsLaplacianPower, abs, -, ^, AngularMomentum
export SphericalHarmonic, UnitSphere, SphericalCoordinate, RadialCoordinate, Block, associatedlegendre, RealSphericalHarmonic, sphericalharmonicy, abs, -, ^, AngularMomentum
cardinality(::Sphere) = ℵ₁

include("multivariateops.jl")
Expand Down
12 changes: 6 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -381,25 +381,25 @@ end
α = 1/3
S = SphericalHarmonic()
Sxyz = axes(S,1)
SΔα = AbsLaplacianPower(Sxyz,α)
SΔα = AbsLaplacian(Sxyz,α)
Δ = Laplacian(Sxyz)
@test copy(SΔα) == SΔα
@test SΔα isa AbsLaplacianPower
@test SΔα isa AbsLaplacian
@test SΔα isa QuasiArrays.LazyQuasiMatrix
@test axes(SΔα) == (axes(S,1),axes(S,1))
@test abs(Δ) == -Δ == AbsLaplacianPower(axes(Δ,1),1)
@test abs(Δ) == -Δ == AbsLaplacian(axes(Δ,1),1)
@test abs(Δ)^α == SΔα
# Set 2
α = 7/13
S = SphericalHarmonic()
Sxyz = axes(S,1)
SΔα = AbsLaplacianPower(Sxyz,α)
SΔα = AbsLaplacian(Sxyz,α)
Δ = Laplacian(Sxyz)
@test copy(SΔα) == SΔα
@test SΔα isa AbsLaplacianPower
@test SΔα isa AbsLaplacian
@test SΔα isa QuasiArrays.LazyQuasiMatrix
@test axes(SΔα) == (axes(S,1),axes(S,1))
@test abs(Δ) == -Δ == AbsLaplacianPower(axes(Δ,1),1)
@test abs(Δ) == -Δ == AbsLaplacian(axes(Δ,1),1)
@test abs(Δ)^α == SΔα
end

Expand Down

0 comments on commit 0b74c33

Please sign in to comment.