Hello. In my program I am having to do this:
PartDerivs [ - ( n + 1 ) : ] = PartDerivs [ - ( n + 1 ) : ] . subs ( { Ep ( 0 ) : 0, De ( n ) : 0 } ) but this fails saying: AttributeError: 'list' object has no attribute 'subs' There is a curious behaviour of Matrix w.r.t slicing: In [1]: from sympy import Matrix ...: M=Matrix(2,3,[1,2,3,4,5,6]) ...: print(type(M[0:2,0:2])) ...: <class 'sympy.matrices.matrices.MutableMatrix'> In [2]: V=Matrix([1,2,3]) ...: print(type(V[2:])) ...: <class 'list'> Due to the above behaviour I am not able to do subs() on a slice of a Vector matrix. What remedy can you good people provide? (This might even be considered a bug.) Thanks. -- Shriramana Sharma -- 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.