X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Fcone%2Fnonnegative_orthant.py;h=2bd1b3c85583370a7988ad66731ac5b2693e7173;hb=928b7d49fda98ff105c92293b5797bb7a2b9873a;hp=288f794391a031ab9010d9f70ecea0d77f3aa095;hpb=cc84aa97cee45609d60893755d5b06be2c79f32e;p=sage.d.git diff --git a/mjo/cone/nonnegative_orthant.py b/mjo/cone/nonnegative_orthant.py index 288f794..2bd1b3c 100644 --- a/mjo/cone/nonnegative_orthant.py +++ b/mjo/cone/nonnegative_orthant.py @@ -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()