Updates:
Status: NeedsDecision
Comment #8 on issue 2865 by [email protected]: str(Matrix(...)) should
give "Matrix(...)"
http://code.google.com/p/sympy/issues/detail?id=2865
Sorry, "srepr" instead "rstr"
srepr(Rational(1, 2)
Rational(1, 2)
srepr(Integer(1))
'Integer(1)'
It have a sense, to be sure that resulted eval() returns Integer, not int
but
m = Matrix([[1, 2], [3, 4]])
m
[1, 2]
[3, 4]
srepr(m)
'Matrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'
It is enough to return 'Matrix([[1, 2], [3, 4]])' as Matrix by itself will
convert the arguments to sympy objects.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
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/sympy-issues?hl=en.