Re: [sympy] Numpy array to C++

2017-07-13 Thread Aaron Meurer
I would also recommend StackOverflow for questions like this. Most likely this specific question has already been asked and answered there already. Aaron Meurer On Thu, Jul 13, 2017 at 5:16 PM, Jason Moore wrote: > You would probably have better luck asking this question

Re: [sympy] Numpy array to C++

2017-07-13 Thread Jason Moore
You would probably have better luck asking this question on the NumPy mailing list. moorepants.info +01 530-601-9791 On Tue, Jul 11, 2017 at 9:47 PM, wrote: > Hi, > > I am trying to convert Numpy array to C++ data structure. Does anyone know > how to do that

Re: [sympy] Python 3.6 tests depending on external library

2017-07-13 Thread Arihant Parsoya
Hi Aaron and Francesco, I converted most code of MatchPy to python 2. However, MatchPy has dependency on few other python3.6 libraries(such as typing). Backport version of those libraries is available online. I found that 1-2 matchpy test cases were failing in python2.7 but all were running in

Re: [sympy] Python 3.6 tests depending on external library

2017-07-13 Thread Francesco Bonazzi
I think that the current priority is to make the rules work. RUBI has a lot of utility functions that need to be translated. So far, it looks like the rules that have been ported are much slower than on Mathematica, but this is to be expected, as Mathematica is better optimized than Python.

Re: [sympy] Python 3.6 tests depending on external library

2017-07-13 Thread Aaron Meurer
That's great. I asked Manuel if he had heard of 3to2 and he hadn't. That's great if it already works out of the box. I think there is also pasteurize http://python-future.org/automatic_conversion.html#pasteurize-py3-to-py2-3, which is probably a better option if the goal is long term support. He

Re: [sympy] Python 3.6 tests depending on external library

2017-07-13 Thread Francesco Bonazzi
On Thursday, 13 July 2017 11:36:47 UTC-4, Francesco Bonazzi wrote: > > As a temporary workaround, we are generating > As a temporary workaround, we are generating the power set of all optional wildcards in a single rule, replacing them with the default matching value each time. -- You

Re: [sympy] Python 3.6 tests depending on external library

2017-07-13 Thread Francesco Bonazzi
Hi Aaron, Arihant was able to use the 3to2 tool to port MatchPy to Python 2.7, and it looked like it was working. We are actually waiting for some extensions to MatchPy (support for optional wildcards), as RUBI uses them extensively. As a temporary workaround, we are generating I also

Re: [sympy] Python 3.6 tests depending on external library

2017-07-13 Thread Aaron Meurer
Hi. Manuel Krebber is here at SciPy. I've talked with him a little bit already, and will likely talk more on Saturday and Sunday during the sprints. I'm hoping we can get something that works in all versions of Python we support (this is important). I discussed the possibility of a pre-compiled

[sympy] Python 3.6 tests depending on external library

2017-07-13 Thread Francesco Bonazzi
Hi, As part of the Rubi GSoC project, the two students are importing the code from Mathematica using the MatchPy library, which provides support for Mathematica's associative and commutative pattern matchings. So far the code hasn't been merged into SymPy, given the dependence on MatchPy, and

[sympy] Hanging search function of docs.sympy.org (firefox, chromium)

2017-07-13 Thread Carsten Knoll
Hi all, a colleague just indicated to me that they are not able to perform a search on with firefox on Windows 8. IE works. I can reproduce this on Debian with FF (52.2.0 (64-Bit)) and Chromium (59.0.3071.86). Example: http://docs.sympy.org/latest/search.html?q=diff