Skip to content

Commit

Permalink
export Laplacian
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Jan 27, 2025
1 parent 0b74c33 commit 1b052af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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, abs, -, ^, AngularMomentum
export SphericalHarmonic, UnitSphere, SphericalCoordinate, RadialCoordinate, Block, associatedlegendre, RealSphericalHarmonic, sphericalharmonicy, abs, -, ^, AngularMomentum, Laplacian
cardinality(::Sphere) = ℵ₁

include("multivariateops.jl")
Expand Down
14 changes: 7 additions & 7 deletions src/angularmomentum.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#########
# AngularMomentum
# Applies the partial derivative with respect to the last angular variable in the coordinate system.
# For example, in polar coordinates (r, θ) in ℝ² or cylindrical coordinates (r, θ, z) in ℝ³, we apply ∂ / ∂θ = (x ∂ / ∂y - y ∂ / ∂x).
# In spherical coordinates (ρ, θ, φ) in ℝ³, we apply ∂ / ∂φ = (x ∂ / ∂y - y ∂ / ∂x).
#########

"""
AngularMomentum
Applies the partial derivative with respect to the last angular variable in the coordinate system.
For example, in polar coordinates (r, θ) in ℝ² or cylindrical coordinates (r, θ, z) in ℝ³, we apply ∂ / ∂θ = (x ∂ / ∂y - y ∂ / ∂x).
In spherical coordinates (ρ, θ, φ) in ℝ³, we apply ∂ / ∂φ = (x ∂ / ∂y - y ∂ / ∂x).
"""
struct AngularMomentum{T,Ax<:Inclusion} <: LazyQuasiMatrix{T}
axis::Ax
end
Expand Down

0 comments on commit 1b052af

Please sign in to comment.