]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
Add a description for the pointed_decomposition() doctest.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 31 Dec 2015 04:25:44 +0000 (23:25 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 31 Dec 2015 04:25:44 +0000 (23:25 -0500)
mjo/cone/cone.py

index 68edeb4a012b1bca7c4f9664970d2d89371b4926..daeeb8936edb5416b269a131afe95c286da75598 100644 (file)
@@ -156,6 +156,10 @@ def pointed_decomposition(K):
 
     TESTS:
 
+    A random point in the cone should belong to either the pointed
+    subcone ``P`` or the subspace ``S``. If the point is nonzero, it
+    should lie in one but not both of them::
+
         sage: set_random_seed()
         sage: K = random_cone(max_ambient_dim=8)
         sage: (P,S) = pointed_decomposition(K)