On Saturday, April 13, 2013 5:26:16 AM UTC+5:30, Aaron Meurer wrote:
>
> Some of your examples in the interface section don't make any sense. 
> For example: 
>
> >>> w = 5*v 
> w 
>
> >>> f = w - 4*v 
> >>> f is v 
> True 
>

Just trying to show vector addition and comparison. f = 5v-4v = v 
(mathematically). Using the 'is' was wrong of course, I admit. We can 
overload the == operator for the check. So,

>>> f == v
True

Any other inconsistencies that you found?

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


Reply via email to