]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/cone/nonnegative_orthant.py
mjo/**/*.py: drop obsolete set_random_seed().
[sage.d.git] / mjo / cone / nonnegative_orthant.py
index 288f794391a031ab9010d9f70ecea0d77f3aa095..2bd1b3c85583370a7988ad66731ac5b2693e7173 100644 (file)
@@ -1,4 +1,4 @@
-"""
+r"""
 The nonnegative orthant in `\mathbb{Z}^{n}`. I'm sick and tired of
 typing it.
 """
@@ -22,9 +22,9 @@ def nonnegative_orthant(n, lattice=None):
     generators. Each generating ray will have the integer ring as its
     base ring.
 
-    If a ``lattice`` was specified, then the cone will live in that
-    lattice unless its rank is incompatible with the dimension ``n`` (in
-    which case a ``ValueError`` is raised).
+    If a ``lattice`` was specified, then the resulting cone will live in
+    that lattice unless its rank is incompatible with the dimension
+    ``n`` (in which case a ``ValueError`` is raised).
 
     SETUP::
 
@@ -48,7 +48,6 @@ def nonnegative_orthant(n, lattice=None):
 
     The nonnegative orthant is a proper cone::
 
-        sage: set_random_seed()
         sage: n = ZZ.random_element(10)
         sage: K = nonnegative_orthant(n)
         sage: K.is_proper()