By the way, vector doesn't work with integer numpy arrays,
from numpy import array
vector(array([1,2]))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_60.py", line 5, in <module>
vector(array([_sage_const_1 ,_sage_const_2 ]))
File "", line 1, in <module>
File "free_module_element.pyx", line 309, in
sage.modules.free_module_element.vector (sage/modules/
free_module_element.c:3172)
TypeError: unsupported operand type(s) for ** or pow(): 'NoneType' and
'int'
Alec Mihailovs
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org