Hi,

mpmath.nstr does not seem to work on a sympy.Matrix whereas the doc
string somewhat implies that it should ("this function useful for
printing collections of numbers (lists, matrices, etc)."). The
following lines of code illustrate the problem:

from sympy import *
from mpmath import nstr
from math import pi

A = Matrix(2,2,[pi,pi,pi,pi])

print A
print nstr(A[0,0],3) # Works
print nstr(A,3)       # Does not work

I am using Python 2.7.1 and Sympy 0.7.1.

Best,

Akin

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to