I believe ImageSet(Lambda(((x,y),),x**2), c) should work
SymPy is very particular about tuple nesting with product sets. The
elements of ProductSet(x, y) are 2-tuples, so the image set needs to
accept a single argument that unpacks a 2-tuple.
Possibly ImageSet should be more lenient about this in cases where
it's unambiguous. It should definitely at least be better documented
and give a better error message.
Aaron Meurer
> --
> 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+un...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/sympy/c370c9f3-1a53-4743-ae5c-3f091e94abdfn%40googlegroups.com.