Re: [sympy] Newbie: display product

2019-07-14 Thread Oscar Benjamin
On Sun, 14 Jul 2019 at 13:29, David Bailey wrote: > > On 13/07/2019 22:36, Oscar Benjamin wrote: > > > Generally it is a lot easier to understand SymPy if you are > experienced with Python. A lot of our users are new to both Python and > SymPy and I think that makes it hard to explain what's

Re: [sympy] Newbie: display product

2019-07-14 Thread David Bailey
On 13/07/2019 22:36, Oscar Benjamin wrote: Generally it is a lot easier to understand SymPy if you are experienced with Python. A lot of our users are new to both Python and SymPy and I think that makes it hard to explain what's going on. Some things would be cleaner for users if SymPy was not

Re: [sympy] Newbie: display product

2019-07-13 Thread Oscar Benjamin
On Sat, 13 Jul 2019 at 21:40, Gary Pajer wrote: > > Oscar, > > That does seem to do what I want ... I think. > What's the difference between this and Chris Smith's answer? I think that both Chris and Gagandeep thought that you were trying to do something more complicated than you actually were.

Re: [sympy] Newbie: display product

2019-07-13 Thread Gary Pajer
Oscar, That does seem to do what I want ... I think. What's the difference between this and Chris Smith's answer? I think I made a symbolic equation between symbols. Didn't you make a *pythonic* assignment? Then python did the right thing when using the multiplication operation '*' (by

Re: [sympy] Newbie: display product

2019-07-13 Thread Oscar Benjamin
Hi Gary, I wonder if we are overcomplicating things here. Does this do what you want? x, y = symbols('x, y') a = x + y b = x * y print(a * b) -- Oscar On Tue, 9 Jul 2019 at 03:11, Gary Pajer wrote: > > I'm sure I'm not the first person having trouble getting started. If there > is a good

[sympy] Newbie: display product

2019-07-08 Thread Gagandeep Singh (B17CS021)
So you want to multiply the two equations? -- 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+unsubscr...@googlegroups.com. To post to this group, send email to

[sympy] Newbie: display product

2019-07-08 Thread Gary Pajer
I'm sure I'm not the first person having trouble getting started. If there is a good tutorial, more detailed than the sympy docs tutorial, please point me to it! I want to display the product of two expressions. Suppose I have a, b, x, y = symbols('a b x y') ex1 = Eq(a, x + y) ex2 = Eq(b, x