From 3da1b3bbfcc95758bcce3596a86b0697765bd177 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 30 Dec 2015 23:25:44 -0500 Subject: [PATCH 1/1] Add a description for the pointed_decomposition() doctest. --- mjo/cone/cone.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mjo/cone/cone.py b/mjo/cone/cone.py index 68edeb4..daeeb89 100644 --- a/mjo/cone/cone.py +++ b/mjo/cone/cone.py @@ -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) -- 2.44.2