X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Fcone%2Ftests.py;h=5a910f0e255e4feefd485fdc5514f28576b1e8ee;hb=fdc03da648dd989527ff4c12ccce04c990869e3b;hp=33e5687a599a944ad2b46535780493998f9dae5a;hpb=f23aede43c0ff4fed3b33f3c8723e7ff7bd79953;p=sage.d.git 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