]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
Remove whitespace around keyword arguments.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 31 Dec 2015 04:19:42 +0000 (23:19 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 31 Dec 2015 04:19:42 +0000 (23:19 -0500)
mjo/cone/cone.py

index 702472c30466f7cba79d4a79f1bf47a552079364..0209433fffb9aa6324bad379b2d5e8ae502e3c16 100644 (file)
@@ -40,14 +40,14 @@ def is_lyapunov_like(L,K):
     The identity is always Lyapunov-like in a nontrivial space::
 
         sage: set_random_seed()
-        sage: K = random_cone(min_ambient_dim = 1, max_ambient_dim = 8)
+        sage: K = random_cone(min_ambient_dim=1, max_ambient_dim=8)
         sage: L = identity_matrix(K.lattice_dim())
         sage: is_lyapunov_like(L,K)
         True
 
     As is the "zero" transformation::
 
-        sage: K = random_cone(min_ambient_dim = 1, max_ambient_dim = 8)
+        sage: K = random_cone(min_ambient_dim=1, max_ambient_dim=8)
         sage: R = K.lattice().vector_space().base_ring()
         sage: L = zero_matrix(R, K.lattice_dim())
         sage: is_lyapunov_like(L,K)
@@ -56,7 +56,7 @@ def is_lyapunov_like(L,K):
         Everything in ``K.lyapunov_like_basis()`` should be Lyapunov-like
         on ``K``::
 
-        sage: K = random_cone(min_ambient_dim = 1, max_ambient_dim = 6)
+        sage: K = random_cone(min_ambient_dim=1, max_ambient_dim=6)
         sage: all([ is_lyapunov_like(L,K) for L in K.lyapunov_like_basis() ])
         True
 
@@ -186,7 +186,7 @@ def positive_operator_gens(K):
     corollary in my paper::
 
         sage: set_random_seed()
-        sage: K = random_cone(max_ambient_dim = 5)
+        sage: K = random_cone(max_ambient_dim=5)
         sage: n = K.lattice_dim()
         sage: m = K.dim()
         sage: l = K.lineality()
@@ -296,7 +296,7 @@ def Z_transformation_gens(K):
     The Z-property is possessed by every Z-transformation::
 
         sage: set_random_seed()
-        sage: K = random_cone(max_ambient_dim = 6)
+        sage: K = random_cone(max_ambient_dim=6)
         sage: Z_of_K = Z_transformation_gens(K)
         sage: dcs = K.discrete_complementarity_set()
         sage: all([(z*x).inner_product(s) <= 0 for z in Z_of_K
@@ -306,7 +306,7 @@ def Z_transformation_gens(K):
     The lineality space of Z is LL::
 
         sage: set_random_seed()
-        sage: K = random_cone(min_ambient_dim = 1, max_ambient_dim = 6)
+        sage: K = random_cone(min_ambient_dim=1, max_ambient_dim=6)
         sage: lls = span([ vector(l.list()) for l in K.lyapunov_like_basis() ])
         sage: z_cone  = Cone([ z.list() for z in Z_transformation_gens(K) ])
         sage: z_cone.linear_subspace() == lls