On Saturday, May 12, 2012 4:49:41 PM UTC+2, Stefan Krastanov wrote:
>
> > 
> > What specific special cases are there in the code by the way? 
> > 
> Things like nsolve working when guesses are inserted as a tuple but 
> not if they are inserted as a matrix (or something like that.) 


If this is the case, it should be fixed.
 

>
> More importantly, places where coordinates will have to be used - a 
> coordinate vector makes sense as a tuple and as a matrix. 
>

I think we should keep the interfaces different. You have addition and 
multiplication with scalars for a vector/matrix, but in general not for a 
tuple. Also, you have for example transposition, which does not make sense 
for tuples.

Maybe the implementations should share more code in order to be less 
redundant though. I agree with Aaron, it might make sense for 
ImmutableMatrix to subclass Tuple.

Vinzent 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/6PTn2MILJj4J.
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?hl=en.

Reply via email to