could be listed on the SymPy webpage.
I am looking forward to hearing feedback from the SymPy commuity on this
project.
Thank you very much!
best regards,
Xuemei Gu
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from thi
On Thursday, April 25, 2019 at 2:29:06 PM UTC+2, Xuemei Gu wrote:
>
>
> [image: error.png]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> In addition:
>
> [image: error.png]
>
>
> I wonder w
[image: error.png]
In addition:
[image: error.png]
I wonder whether someone has the similar problems. Because I remember I
have no such error before I reinstall the anaconda and sympy.
So I wonder is this because of the update?
Thank you very much!
--
You
ike this:
>
> In [7]: setupstr='LI(OAMHolo(OAMHolo(XX,e,6),f,2),a,f)'
>
> In [8]: from sympy import S
>
> In [9]: S(setupstr)
> Out[9]: LI(OAMHolo(OAMHolo(XX, e, 6), f, 2), a, f)
>
>
> On Thu, 4 Apr 2019 at 15:41, Xuemei Gu wrote:
> >
> > Thank you very much!
&
hey, all the friends in the group,
I have a question, which I don't know how to solve it.
StringA='DP(OAMHolo(BS(OAMHolo(OAMHolo(OAMHolo(OAMHolo(LI(XXX,a,d),d,5),e,3),b,5),c,3),a,d),c,9),a)'
fundict={'BS':BS,'LI':LI,'Reflection':Reflection,'OAMHolo':OAMHolo,'DP':DP}
bles and use
> Poly.as_coefficients_dict.
>
> Aaron Meurer
>
> On Mon, Apr 1, 2019 at 1:02 PM Xuemei Gu wrote:
> >
> >
> > hey,
> >
> > I wander whether one has occurred such problem:
> >
> > I define a initial state:
> >
> > state=a[1]*b
hey,
I wander whether one has occurred such problem:
I define a initial state:
state=a[1]*b[0]*c[0]*d[0]*1j+a[1]*b[0]*c[0]*d[0] + a[2]*b[1]*c[1]*d[1]
# for some reason I have to do such decomposition
datalist=state.as_coefficients_dict()
I can get:
{
]*d[4]+a[1]**2*b[3]*c[1]*d[4]+a[1]*b[2]**2*c[3]+b[2]*c[3]+...
I only want to take the cases for terms containing b[xxx]*c[xxx]*d[xxx],
other cases are all becoming to 0.
Do you have any ideas? I thought about match, but seems wrong.
Thank you very much!
Best regards,
Xuemei Gu
On Fri, Dec 14
hey, everyone.
hello, I recently played with sympy for comparing with wolfram language. I
wonder whether there is a simple way to do the _ (blank) as mathematica do.
Here is a link: