X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Feja%2Feja_utils.py;h=b6b0a0327c19842ce654023b00bf6e0b9af539a1;hb=09e103320c85de7be6846be6980642d37a5ca6a9;hp=e8b7dc71c7d6f52760f22d1c945b966f0f17529f;hpb=f9e1e977040c2c3b1019a0bcc5776384a13e96c4;p=sage.d.git diff --git a/mjo/eja/eja_utils.py b/mjo/eja/eja_utils.py index e8b7dc7..b6b0a03 100644 --- a/mjo/eja/eja_utils.py +++ b/mjo/eja/eja_utils.py @@ -1,9 +1,4 @@ -from sage.matrix.constructor import matrix from sage.modules.free_module_element import vector -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())