matrix(r"""
1 0 0 0 1
0 1 0 0 1
0 0 1 0 1
0 0 0 1 1""")

python makes this not so hard:

matrix(2, 2, map(ZZ, r"""
1 0
0 1""".split()))

or

matrix(ZZ, 2, 2, r"""
1 0
0 1""".split())

Nick

--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to sage-devel+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to