These are chat archives for symengine/symengine

12th
Feb 2015
Ondřej Čertík
@certik
Feb 12 2015 01:45
Translation to C++ would be straightforward, but we need to first implement this in SymPy, since we need to figure out if it is going to work for all cases. Only then we should translate to C++.
Shivam Vats
@shivamvats
Feb 12 2015 01:51
I've actually read that discussion. I summarized some of the ideas here : https://github.com/shivamvats/csympy/blob/series-proposal/proposal.mkd
There was an attempt last year to implement formal series in Sympy:
avichaldayal/sympy@1ae792f
Shivam Vats
@shivamvats
Feb 12 2015 02:08
Though that project wanted to do several things ( like asymptotic expansion), I think it will be faster if I pick up the FormalPowerSeries part from where that PR left. What do you think?
As for the hash comparisons, the probability of collisions is 1.0/std::numeric_limits<size_t>::max(), which is quite low (symbols use their string for hashing). Or if need be, I can implement a Mersenne prime based hash function.
Brian Keiseler
@irogerthat
Feb 12 2015 12:32
Hi Everyone! I am new to csympy, I want to contribute to it, can anybody tell me how are we supposed to use csympy?
I mean are we supposed to use it from python shell??
Sumith Kulal
@Sumith1896
Feb 12 2015 12:43
It's up to you whether you use from python shell or not!
Brian Keiseler
@irogerthat
Feb 12 2015 14:02
what is the other way?
Sumith Kulal
@Sumith1896
Feb 12 2015 16:04
using c++.Check out the test files of csympy you will get a clear idea