[sympy] padepy

2022-07-31 Thread Rafael da Silva
Hello padepy is a Python library for Padé approximation calculation with infinite (algebric) and finite (floating) precision. Content — padepy 0.1 documentation <https://padepy.readthedocs.io/en/latest/> It is relies on sympy package. Kind regards Rafael -- You received this m

[sympy] Simplification Not Removing Multiplication by 1.0

2020-05-31 Thread Rafael Turner
Hello, I am trying to simplify the following expression: E = '(-2*d11*d23*d32 + 4*d11 - 4*d12*d21 + 2*d12*d23*d31 + 1.0*d12*d31 + 2*d13*d21*d32 - 2*d13*d22*d31 - 2*d13*d31 + d22*d31 + d22*(4*d11 + 4) - 2*d23*d32 - d31*(d22 + 1) + d31 - 1.0*d32*(d11 + 1) + 2*d33*(d11*d22 + d11 - d12*d21 + d22

Re: [sympy] Re: Elements of a permutation group in fixed order

2020-05-14 Thread Rafael Villarroel
ould sort the arguments before passing to PermutationGroup. > > > > On Thursday, May 14, 2020 at 5:07:10 PM UTC+9, Rafael wrote: > >> > >> > >> If G is a permutation group, then since G.elements is a set, I cannot > >> expect that list(G.elements) always

[sympy] Elements of a permutation group in fixed order

2020-05-14 Thread Rafael
If G is a permutation group, then since G.elements is a set, I cannot expect that list(G.elements) always lists the elements in the same order. Can I expect that list(G.generate()) lists the elements always in the same order? -- You received this message because you are subscribed to the Google

[sympy] question about how to substitute an expression with a variable

2015-06-12 Thread Rafael Rocha
But I can only get c1+c2+v1+v2+m1+m2 I Am trying to use the subs and sympify function to do this: A = W.subs({c1+c2:C, v1+v2:V, m1+m2:M, w1+w1:W}) print (sympify(A)) But It stills return c1+c2+v1+v2+m1+m2 How can I make sympy understand I want it to substitute c1+c2 for C and so on?