]>
gitweb.michael.orlitzky.com - sage.d.git/blob - 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
6 return vector(m
.base_ring(), m
.list())
9 return matrix(v
.base_ring(), sqrt(v
.degree()), v
.list())