On 2014-05-22, Yoo-hee Shin <yoohe...@gmail.com> wrote: > In following the official tutorial, I ran a command "A = matrix(4,4, range( > 16))" to get the error below. It looks like importing numpy imports > something in numpy to create a loop. How can I create a matrix? > > --------------------------------------------------------------------------- > AttributeError Traceback (most recent call last) ><ipython-input-16-644ea671373e> in <module>() > ----> 1 A = matrix(Integer(4),Integer(4), range(Integer(16))) > > /usr/local/sage-6.1.1-x86_64-Linux/local/lib/python2.7/site-packages/sage/matrix/constructor.pyc > > in _matrix_constructor(*args, **kwds)
please try with the current official version of Sage, 6.2. The command A = matrix(4,4, range(16)) works for me there. HTH, Dmitrii -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.