summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Gourgoulhon <eric.gourgoulhon@obspm.fr>2015-06-26 18:06:38 +0200
committerEric Gourgoulhon <eric.gourgoulhon@obspm.fr>2015-06-26 18:06:38 +0200
commita74c2e0519c166657b858be5b4b3dc4fd0145d09 (patch)
tree30c3416e123e59469e07b72d0bd8bb5904f6e424
parentModifications in CoordChange to allow for subclasses. (diff)
Add example of p-adic manifold
-rw-r--r--src/sage/manifolds/manifold.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sage/manifolds/manifold.py b/src/sage/manifolds/manifold.py
index c221802..393eb9d 100644
--- a/src/sage/manifolds/manifold.py
+++ b/src/sage/manifolds/manifold.py
@@ -351,6 +351,12 @@ class TopManifold(TopManifoldSubset):
sage: N = TopManifold(6, 'N', field=QQ); N
6-dimensional topological manifold N over the Rational Field
+ A manifold over `\QQ_5`, the field of 5-adic numbers::
+
+ sage: N = TopManifold(2, 'N', field=Qp(5)); N
+ 2-dimensional topological manifold N over the 5-adic Field with capped
+ relative precision 20
+
A manifold is a Sage *parent* object, in the category of sets::
sage: isinstance(M, Parent)