pygeoinf 1.1.3__tar.gz → 1.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/PKG-INFO +1 -1
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/operators.py +2 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/symmetric_space/sphere.py +15 -3
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pyproject.toml +1 -1
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/LICENSE +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/README.md +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/__init__.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/direct_sum.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/forward_problem.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/gaussian_measure.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/hilbert_space.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/inversion.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/linear_bayesian.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/linear_forms.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/linear_optimisation.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/linear_solvers.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/random_matrix.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/symmetric_space/__init__.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/symmetric_space/circle.py +0 -0
- {pygeoinf-1.1.3 → pygeoinf-1.1.5}/pygeoinf/symmetric_space/symmetric_space.py +0 -0
|
@@ -425,6 +425,18 @@ class Lebesgue(SphereHelper, HilbertModule, AbstractInvariantLebesgueSpace):
|
|
|
425
425
|
"""
|
|
426
426
|
return x1 * x2
|
|
427
427
|
|
|
428
|
+
def __eq__(self, other: object) -> bool:
|
|
429
|
+
"""
|
|
430
|
+
Checks for mathematical equality with another Sobolev space on a sphere.
|
|
431
|
+
|
|
432
|
+
Two spaces are considered equal if they are of the same type and have
|
|
433
|
+
the same defining parameters (kmax, order, scale, and radius).
|
|
434
|
+
"""
|
|
435
|
+
if not isinstance(other, Lebesgue):
|
|
436
|
+
return NotImplemented
|
|
437
|
+
|
|
438
|
+
return self.lmax == other.lmax and self.radius == other.radius
|
|
439
|
+
|
|
428
440
|
def eigenfunction_norms(self) -> np.ndarray:
|
|
429
441
|
"""Returns a list of the norms of the eigenfunctions."""
|
|
430
442
|
return np.fromiter(
|
|
@@ -445,9 +457,9 @@ class Lebesgue(SphereHelper, HilbertModule, AbstractInvariantLebesgueSpace):
|
|
|
445
457
|
|
|
446
458
|
return LinearOperator.self_adjoint(self, mapping)
|
|
447
459
|
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
460
|
+
def __str__(self) -> str:
|
|
461
|
+
"""Returns the string representation of the form's components."""
|
|
462
|
+
return f"Lebesgue space on sphere\nlmax={self.lmax}\nradius={self.radius}\ngrid={self.grid}\nextend={self.extend}"
|
|
451
463
|
|
|
452
464
|
|
|
453
465
|
class Sobolev(SphereHelper, MassWeightedHilbertModule, AbstractInvariantSobolevSpace):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|