Baiyi Yu

Results 42 comments of Baiyi Yu
trafficstars

Thanks for the information. Is there a way to change the threading system (not the provider) to let it allocation free?

Thank you very much! I'll test it later.

Without FFTW but with an anoymous function, works good ``` using Distributed using ClusterManagers addprocs(2) @everywhere begin ## N=2048 Tpx=1 ## function mapfunc(Tpx) test2->Tpx * test2 end f=mapfunc(Tpx) end ##...

Sorry for that I just think it may relative to package `Distributed` and `FFTW`, so I posted it at two places

I know your point, but what makes these two `f`s below different to `pmap`? ``` @everywhere begin function mapfunc(Tpx) test2->Tpx* test2 end f=mapfunc(Tpx) end ``` ``` @everywhere f(test2)=Tpx* test2 ```

How to implement complex expand and use it to simplify? Like `exp(im*x)=cos(x)+im*sin(x)`

Is it possible to convert a pure complex number in type of WExpr to a julia ComplexF64? I recently used `Meta.parse(W2Mstr(WExpr))` for real numbers and eval(Meta.parse(replace(W2Mstr(weval(WExpr)),"I"=>"im"))) for complex numbers. Function...

> ols used to work for me before, but recently I am facing the same issue. me too

Happy to hear that the Schroedinger solver is now supporting Dual number and then naturally the Forwarddiff. That's great.

As for the unit of $\hbar$, you can check #294. As for the energy of Gaussian packets, I think the dependance could be natural since the min or max momentum...