From 1b052afe3a85254b5a000f5867f577f959505152 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Mon, 27 Jan 2025 07:47:27 +0000 Subject: [PATCH] export Laplacian --- src/HarmonicOrthogonalPolynomials.jl | 2 +- src/angularmomentum.jl | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/HarmonicOrthogonalPolynomials.jl b/src/HarmonicOrthogonalPolynomials.jl index 22e8eaa..59330bd 100644 --- a/src/HarmonicOrthogonalPolynomials.jl +++ b/src/HarmonicOrthogonalPolynomials.jl @@ -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") diff --git a/src/angularmomentum.jl b/src/angularmomentum.jl index b2faa59..cb10dcb 100644 --- a/src/angularmomentum.jl +++ b/src/angularmomentum.jl @@ -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