X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Fcone%2Ftests.py;fp=mjo%2Fcone%2Ftests.py;h=1758f8b4749a171165ea574aa87a7389019779bc;hb=dbef443b13d185940629eb870fc93f55cb5a70a3;hp=0df9e32a4e526c544a9b58fd72b74efe09887d6c;hpb=e858d109f07086b2fced9f14322e8e255e7f4f17;p=sage.d.git diff --git a/mjo/cone/tests.py b/mjo/cone/tests.py index 0df9e32..1758f8b 100644 --- a/mjo/cone/tests.py +++ b/mjo/cone/tests.py @@ -216,14 +216,14 @@ cone. Check all combinations of parameters:: sage: lyapunov_rank(K) == lyapunov_rank(K.dual()) True -The Lyapunov rank of a cone ``K`` is the dimension of ``LL(K)``. Check -all combinations of parameters:: +The Lyapunov rank of a cone ``K`` is the dimension of +``K.lyapunov_like_basis()``. Check all combinations of parameters:: sage: set_random_seed() sage: K = random_cone(max_ambient_dim=8, ....: strictly_convex=True, ....: solid=True) - sage: lyapunov_rank(K) == len(K.LL()) + sage: lyapunov_rank(K) == len(K.lyapunov_like_basis()) True :: @@ -232,7 +232,7 @@ all combinations of parameters:: sage: K = random_cone(max_ambient_dim=8, ....: strictly_convex=True, ....: solid=False) - sage: lyapunov_rank(K) == len(K.LL()) + sage: lyapunov_rank(K) == len(K.lyapunov_like_basis()) True :: @@ -241,7 +241,7 @@ all combinations of parameters:: sage: K = random_cone(max_ambient_dim=8, ....: strictly_convex=False, ....: solid=True) - sage: lyapunov_rank(K) == len(K.LL()) + sage: lyapunov_rank(K) == len(K.lyapunov_like_basis()) True :: @@ -250,7 +250,7 @@ all combinations of parameters:: sage: K = random_cone(max_ambient_dim=8, ....: strictly_convex=False, ....: solid=False) - sage: lyapunov_rank(K) == len(K.LL()) + sage: lyapunov_rank(K) == len(K.lyapunov_like_basis()) True """