On Sat, Dec 1, 2012 at 5:07 PM, Chris Smith <[email protected]> wrote:
>>>> eqs=Tuple(*[A(0) + 5*A(1) - 2, -3*A(0) + 6*A(1) - 15])
>>>> solve(eqs, eqs.atoms(Function))
> {A(0): -3, A(1): 1}

On Sun, Dec 2, 2012 at 6:59 AM, Chris Smith <[email protected]> wrote:
>>>> eqs=Tuple(*([A[0] + 5*A[1] - 2, -3*A[0]+ 6*A[1] - 15]))

Hi can you clarify why you have used a * inside the Tuple constructor
in both the above cases and why the additional () around the []
containing the list in the second case? The Tuple documentation
doesn't seem to speak about either of these two. 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 [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