[sympy] sympy acceptable expression :'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|'?

2014-11-22 Thread Lee Philip
is 'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' sympy acceptable? I got both error by both these expressions ,wonder is this a bug or not ? test code here http://codepad.org/oA7A8KrF -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this

[sympy] sympy acceptable expression :'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]'?

2014-11-22 Thread Lee Philip
is 'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]' sympy acceptable? I got exceptions by these expressions ,wonder is this a bug or not ? test code here http://codepad.org/NyO5tj1I -- You received this message because you are subscribed to the Google Groups sympy

Re: [sympy] sympy acceptable expression :'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]'?

2014-11-22 Thread Joachim Durchholz
Am 22.11.2014 um 12:04 schrieb Lee Philip: is 'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]' sympy acceptable? I got exceptions by these expressions ,wonder is this a bug or not ? test code here http://codepad.org/NyO5tj1I You won't get faster answers by

Re: [sympy] SymPy plans for the future: 1.0 on the horizon

2014-11-22 Thread Francesco Bonazzi
On Friday, November 21, 2014 8:37:31 PM UTC+1, Ronan Lamy wrote: Le 20/11/14 21:49, Aaron Meurer a écrit : Now that 0.7.6 is out the door, I'd like to open this thread to discuss some of the future plans for SymPy. I think it's high time we released a 1.0 version. SymPy has come a

Re: [sympy] SymPy plans for the future: 1.0 on the horizon

2014-11-22 Thread Francesco Bonazzi
On Friday, November 21, 2014 11:57:23 PM UTC+1, Aaron Meurer wrote: But Q.real is also a naming convention (except it's also conveniently namespaced). In Mathematica's notation it would be RealQ. There are many other possible combinations, e.g. is_real, real_q, realQ, Q_real, etc... My

Re: [sympy] sympy acceptable expression :'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]'?

2014-11-22 Thread Ondřej Čertík
Hi Lee, On Sat, Nov 22, 2014 at 4:04 AM, Lee Philip redstone-c...@163.com wrote: is 'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]' sympy acceptable? I got exceptions by these expressions ,wonder is this a bug or not ? You seem to found a bug in the Mathematica parser,

[sympy] ANN: First release of combi, a combinatorics package for Python

2014-11-22 Thread cool-RR
Hi everyone, Just a quick announcement: Last week I made the first release of an open-source package called Combi. It's a package for doing combinatorics in Python. Combi lets you explore spaces of permutations and combinations as if they were Python sequences, but without generating all the

Re: [sympy] SymPy plans for the future: 1.0 on the horizon

2014-11-22 Thread Aaron Meurer
On Sat, Nov 22, 2014 at 7:13 AM, Francesco Bonazzi franz.bona...@gmail.com wrote: On Friday, November 21, 2014 11:57:23 PM UTC+1, Aaron Meurer wrote: But Q.real is also a naming convention (except it's also conveniently namespaced). In Mathematica's notation it would be RealQ. There are

Re: [sympy] Re: SymPy plans for the future: 1.0 on the horizon

2014-11-22 Thread Aaron Meurer
On Fri, Nov 21, 2014 at 6:43 PM, Sergey B Kirpichev skirpic...@gmail.com wrote: On Fri, Nov 21, 2014 at 06:27:56PM -0600, Aaron Meurer wrote: What other bundled code do we have? E.g. sympy/parsing/sympy_tokenize.py OK, I'm not sure if that counts, because it's from the standard library.

[sympy] Python 2.6 support

2014-11-22 Thread Aaron Meurer
While we're talking about changes for 1.0, how do people feel about dropping Python 2.6 support. I think we decided that we need to keep Python 3.2 support for the time being because of Debian, but what about 2.6? According to https://www.python.org/download/releases/2.6.7/, the Python 2.6 series

Re: [sympy] sympy acceptable expression :'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]'?

2014-11-22 Thread Aaron Meurer
People often double post because they don't realize that new members of the group are moderated. Moderators should avoid double posting messages from the moderation queue. Aaron Meurer On Sat, Nov 22, 2014 at 5:39 AM, Joachim Durchholz j...@durchholz.org wrote: Am 22.11.2014 um 12:04 schrieb

Re: [sympy] Re: Release notes in the wiki vs with the source

2014-11-22 Thread Aaron Meurer
I still prefer having the release notes in the wiki. It makes it easier for people to change them (they don't have to fiddle with pull requests, and it's already hard enough to get people to update them). What are the benefits of having them in the main repo? Note that the wiki is under revision

Re: [sympy] Re: Release notes in the wiki vs with the source

2014-11-22 Thread Matthew Brett
On Sat, Nov 22, 2014 at 12:24 PM, Aaron Meurer asmeu...@gmail.com wrote: I still prefer having the release notes in the wiki. It makes it easier for people to change them (they don't have to fiddle with pull requests, and it's already hard enough to get people to update them). What are the

Re: [sympy] Re: Release notes in the wiki vs with the source

2014-11-22 Thread Jason Moore
I'm proposing two things: 1. We maintain the release notes within the source code repository. 2. We institute methods requiring change log notes to be included with each PR (minor things can be exceptions with minor being subjective). Here are my reasons for both: 1. When dealing with

Re: [sympy] Re: Release notes in the wiki vs with the source

2014-11-22 Thread Sergey B Kirpichev
On Sat, Nov 22, 2014 at 02:24:05PM -0600, Aaron Meurer wrote: I still prefer having the release notes in the wiki. It makes it easier for people to change them Unfortunately, this doesn't work: #2782 - not mentioned #2927 - fixes #7145 #7300 - small change, but... #2992 - two bug fixed #7296 -

Re: [sympy] Re: Release notes in the wiki vs with the source

2014-11-22 Thread Aaron Meurer
If I'm not mistaken, both Python and scipy keep their docs in a separate repo. Another challenge with our release notes is that we tend to have a *lot* of changes per release, thanks to both the rate at which we release, and the large amount of code we have coming in from GSoC (plus a lot of

[sympy] Issue #7335: FiniteSet not accepting iterables

2014-11-22 Thread Amit Saha
Hi, I only am realizing that I cannot do FiniteSet[1, 2, 3, 4]) any more. I did find it very useful to create a set from the elements of a set. Anyway, it's probably way late for that. So, what is the recommended way now to create a FiniteSet from an existing list or any other iterable? Use

[sympy] Re: Issue #7335: FiniteSet not accepting iterables

2014-11-22 Thread Amit Saha
On Sun, Nov 23, 2014 at 12:20 PM, Amit Saha amitsaha...@gmail.com wrote: Hi, I only am realizing that I cannot do FiniteSet[1, 2, 3, 4]) any more. I did find it very useful to create a set from the elements of a set. set = list -- You received this message because you are subscribed to the

[sympy] Re: Issue #7335: FiniteSet not accepting iterables

2014-11-22 Thread Sergey Kirpichev
On Sunday, November 23, 2014 5:21:42 AM UTC+3, Amit Saha wrote: Hi, I only am realizing that I cannot do FiniteSet[1, 2, 3, 4]) any more. I did find it very useful to create a set from the elements of a set. Anyway, it's probably way late for that. So, what is the recommended way now to

Re: [sympy] Re: Issue #7335: FiniteSet not accepting iterables

2014-11-22 Thread Aaron Meurer
This was an intentional change. The previous way made it impossible to create things like FiniteSet(FiniteSet(1, 2, 3)) (a set containing a single set). Aaron Meurer On Sat, Nov 22, 2014 at 8:43 PM, Sergey Kirpichev skirpic...@gmail.com wrote: On Sunday, November 23, 2014 5:21:42 AM UTC+3, Amit

Re: [sympy] sympy acceptable expression :'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]'?

2014-11-22 Thread Lee Philip
thanks for your kind help ,but there is no '*' in x Sin[1/x] + Abs[x] 在 2014年11月23日星期日UTC+8上午12时13分22秒,Ondřej Čertík写道: Hi Lee, On Sat, Nov 22, 2014 at 4:04 AM, Lee Philip redsto...@163.com javascript: wrote: is 'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]' sympy

[sympy] Re: sympy acceptable expression :'x sin(1/x)+abs(x)' or 'x sin(1/x)+|x|' or 'x Sin[1/x] + Abs[x]'?

2014-11-22 Thread Lee Philip
I post this question again is because something was lack in my first post(but I have already deleted it before I post this question again ). anyway ,there is a bug in the Mathematica parser https://github.com/sympy/sympy/issues/8501 在 2014年11月22日星期六UTC+8下午7时04分41秒,Lee Philip写道: is 'x