From 4456d5b0a4f57318fd455a6b056efc65b114ca56 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 30 Dec 2015 23:49:58 -0500 Subject: [PATCH] Rename pointed_decomposition() to motzkin_decomposition(). --- mjo/cone/cone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mjo/cone/cone.py b/mjo/cone/cone.py index daeeb89..c9d6a17 100644 --- a/mjo/cone/cone.py +++ b/mjo/cone/cone.py @@ -141,7 +141,7 @@ def random_element(K): return V(sum(scaled_gens)) -def pointed_decomposition(K): +def motzkin_decomposition(K): """ Every convex cone is the direct sum of a pointed cone and a linear subspace. Return a pair ``(P,S)`` of cones such that ``P`` is @@ -162,7 +162,7 @@ def pointed_decomposition(K): sage: set_random_seed() sage: K = random_cone(max_ambient_dim=8) - sage: (P,S) = pointed_decomposition(K) + sage: (P,S) = motzkin_decomposition(K) sage: x = random_element(K) sage: P.contains(x) or S.contains(x) True -- 2.44.2