If we do not use enumeration, can we do float/int on every Matrix element? I ask this because I want to show my result while round the float number to integer. Thanks
currently
>>> from sympy import *
>>> X=Matrix([1.0, 2.0, 3.14])
>>> print X
Matrix([[1.00000000000000], [2.00000000000000], [3.14000000000000]])
>>> print X.evalf(1) #in fact, I need Matrix([[1], [2], [3]])
Matrix([[1.], [2.], [3.]])
>>> print int(X.evalf(1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: int() argument must be a string or a number, not 'MutableDenseMatrix'