See tests commited in PR https://github.com/sympy/sympy/pull/2933 to see how it works
Rajat -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/3c940f5d-3fa5-41e4-a894-8621cc225d70%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
