We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24b6cb commit 05fc6d2Copy full SHA for 05fc6d2
src/sage/sets/primes.py
@@ -850,6 +850,11 @@ def intersection(self, other):
850
...
851
NotImplementedError: intersection with general infinite sets is not implemented
852
853
+ sage: P = Primes(modulus=0, classes=range(30))
854
+ sage: P.intersection(reversed([13, 7, 11, 37]))
855
+ Finite set of prime numbers: 7, 11, 13
856
+
857
858
.. SEEALSO::
859
860
:meth:`complement_in_primes`, :meth:`union`
0 commit comments