X-Git-Url: http://gitweb.michael.orlitzky.com/?p=sage.d.git;a=blobdiff_plain;f=mjo%2Feja%2Feja_utils.py;h=79d8ecfce61c555375deffd40501b2fb100c0379;hp=a4328610e5e41db689455828bd0d8988225e745b;hb=40850626cb85d115363995ad6beaee8cb17d83da;hpb=f3a64f913849aaf780ca6113607fd4443adf5b7d diff --git a/mjo/eja/eja_utils.py b/mjo/eja/eja_utils.py index a432861..79d8ecf 100644 --- a/mjo/eja/eja_utils.py +++ b/mjo/eja/eja_utils.py @@ -1,7 +1,4 @@ -from sage.functions.other import sqrt from sage.structure.element import is_Matrix -from sage.matrix.constructor import matrix -from sage.modules.free_module_element import vector def _charpoly_sage_input(s): r""" @@ -171,13 +168,6 @@ def _all2list(x): return sum( map(_all2list, xl) , []) - -def _mat2vec(m): - return vector(m.base_ring(), m.list()) - -def _vec2mat(v): - return matrix(v.base_ring(), sqrt(v.degree()), v.list()) - def gram_schmidt(v, inner_product=None): """ Perform Gram-Schmidt on the list ``v`` which are assumed to be