From: Michael Orlitzky Date: Tue, 17 Nov 2015 00:59:49 +0000 (-0500) Subject: Rename solid_quotient() to solid_restriction(). X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=46b32aa189efc76f3403fe410a622ee21329812b;p=sage.d.git Rename solid_quotient() to solid_restriction(). --- diff --git a/mjo/cone/tests.py b/mjo/cone/tests.py index 33e5687..5a910f0 100644 --- a/mjo/cone/tests.py +++ b/mjo/cone/tests.py @@ -291,7 +291,7 @@ result). Test all four parameter combinations:: ....: strictly_convex=False, ....: solid=False) sage: K_S = _restrict_to_subspace(K, K.span()) - sage: K_S2 = K.solid_quotient() + sage: K_S2 = K.solid_restriction() sage: _look_isomorphic(K_S, K_S2) True sage: K_SP = _restrict_to_subspace(K_S.dual(), K_S.dual().span()).dual() @@ -315,7 +315,7 @@ result). Test all four parameter combinations:: ....: strictly_convex=False, ....: solid=True) sage: K_S = _restrict_to_subspace(K, K.span()) - sage: K_S2 = K.solid_quotient() + sage: K_S2 = K.solid_restriction() sage: _look_isomorphic(K_S, K_S2) True sage: K_SP = _restrict_to_subspace(K_S.dual(), K_S.dual().span()).dual() @@ -339,7 +339,7 @@ result). Test all four parameter combinations:: ....: strictly_convex=True, ....: solid=False) sage: K_S = _restrict_to_subspace(K, K.span()) - sage: K_S2 = K.solid_quotient() + sage: K_S2 = K.solid_restriction() sage: _look_isomorphic(K_S, K_S2) True sage: K_SP = _restrict_to_subspace(K_S.dual(), K_S.dual().span()).dual() @@ -363,7 +363,7 @@ result). Test all four parameter combinations:: ....: strictly_convex=True, ....: solid=True) sage: K_S = _restrict_to_subspace(K, K.span()) - sage: K_S2 = K.solid_quotient() + sage: K_S2 = K.solid_restriction() sage: _look_isomorphic(K_S, K_S2) True sage: K_SP = _restrict_to_subspace(K_S.dual(), K_S.dual().span()).dual() @@ -432,12 +432,12 @@ all parameter combinations:: True Ensure that ``__restrict_to_subspace(K, K.span())`` and -``K.solid_quotient()`` are actually equivalent:: +``K.solid_restriction()`` are actually equivalent:: sage: set_random_seed() sage: K = random_cone(max_ambient_dim=8) sage: K1 = _restrict_to_subspace(K, K.span()) - sage: K2 = K.solid_quotient() + sage: K2 = K.solid_restriction() sage: _look_isomorphic(K1,K2) True