]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: delete unused vec2mat() function.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 23 Aug 2019 19:22:56 +0000 (15:22 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 23 Aug 2019 19:22:56 +0000 (15:22 -0400)
mjo/eja/eja_utils.py

index e8b7dc71c7d6f52760f22d1c945b966f0f17529f..701d5f561f6ef2418cee5f914ceb030ee9a6f5cb 100644 (file)
@@ -4,6 +4,3 @@ from sage.functions.other import sqrt
 
 def _mat2vec(m):
         return vector(m.base_ring(), m.list())
-
-def _vec2mat(v):
-        return matrix(v.base_ring(), sqrt(v.degree()), v.list())