Try with evaluate flag. sin(-theta, evaluate=False) should give sin(-theta).
On 9 August 2015 at 21:24, Jonathan Crall <[email protected]> wrote: > I have a matrix equation where it would be useful for the output to have a > -theta inside a sine operation. However, whenever I type sympy.sin(-theta) > it always expands to -sin(theta). Is there any way to disable this? > > -- > 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/e0c876ac-8252-4aae-813d-52513cc4372b%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/e0c876ac-8252-4aae-813d-52513cc4372b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Regards *Sartaj Singh* *Mathematics and Computing*, Indian Institute of Technology, Varanasi - 221 005 INDIA E-mail: [email protected], *[email protected] <[email protected]>* -- 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/CAC%2BH8-EKYx_20TiC61r2QgbrTdXhEsFbs-4avN82MOBW_8CtGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
