I feel like I've seen code for this on the mailing list or IRC but
after some searching wasn't able to find it.
Is it possible to prevent something like (x*y)**2 from being expanded
to x**2*y**2?
I tried an expand=False option to Mul and Pow, as in:
Mul(x*y, x*y, expand=False)
Pow(x*y, 2, expand
I think Chris Smith (smichr) is working on this on one of his branches.
Aaron Meurer
On Oct 11, 2009, at 1:11 AM, Luke wrote:
>
> I feel like I've seen code for this on the mailing list or IRC but
> after some searching wasn't able to find it.
>
> Is it possible to prevent something like (x*y)**
0) I have recently discovered Sympy to myself and am pleased using it.
It is already rich with many interesting capabilities. Thanks a lot
for it!
1) I am trying to solve symbolically an eigen-problem depending on a
small parameter. For my 2x2 matrix this takes couple of hours. For a
3x3 matrix t
On Sun, Oct 11, 2009 at 11:33 PM, klmn wrote:
>
> 0) I have recently discovered Sympy to myself and am pleased using it.
> It is already rich with many interesting capabilities. Thanks a lot
> for it!
>
> 1) I am trying to solve symbolically an eigen-problem depending on a
> small parameter. For