]> gitweb.michael.orlitzky.com - sage.d.git/blob - mjo/eja/eja_utils.py
701d5f561f6ef2418cee5f914ceb030ee9a6f5cb
[sage.d.git] / mjo / eja / eja_utils.py
1 from sage.matrix.constructor import matrix
2 from sage.modules.free_module_element import vector
3 from sage.functions.other import sqrt
4
5 def _mat2vec(m):
6 return vector(m.base_ring(), m.list())