[sympy] Re: The Vectors and Electromagnetism GSoC projects

2013-06-16 Thread Prasoon Shukla
Okay so I just talked with Sachin on this. As Gilbert says, we should plan before we start work. Initially, my proposal had a distinction between a CoordSys class and a RefFrame class. We are at a similar point now. Nevertheless, the two ways we thought this could work was by: a) Subclassing t

Re: [sympy] Re: The Vectors and Electromagnetism GSoC projects

2013-06-16 Thread Stefan Krastanov
Maybe I am simply missing something, but I do not understand why anything more complicated than option (a) would be considered. Prasoon just implements vector fields as they are meant in math (with static orientations) and Sachin adds a parametrization to these orientations (the parameter being tim

Re: [sympy] Re: The Vectors and Electromagnetism GSoC projects

2013-06-16 Thread Stefan Krastanov
Considering IRC - I can attend on Monday for instance (in the morning for the West Coast, evening in Europe and India) On 16 June 2013 12:16, Stefan Krastanov wrote: > Maybe I am simply missing something, but I do not understand why > anything more complicated than option (a) would be considered.

[sympy] Re: The Vectors and Electromagnetism GSoC projects

2013-06-16 Thread Prasoon Shukla
Alright then. We will go with option (a). @Gilbert and @Sachin, can you come on the IRC tonight? -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@goog

Re: [sympy] Evaluating limit of curvature of a bezier at a cusp

2013-06-16 Thread Shriramana Sharma
Hello Aaron and Chris and thanks for your replies. @Aaron: Perhaps you didn't see the script since I've already used SymPy's limit in it. The question was how to do it *without* limit (i.e. for implementation in C++ where SymPy doesn't exist). And I read up a bit on the Gruntz method, but probably

Re: [sympy] Re: The Vectors and Electromagnetism GSoC projects

2013-06-16 Thread Sachin Joglekar
Yeah. I can be there at 9:30 On Sun, Jun 16, 2013 at 6:33 PM, Prasoon Shukla wrote: > Alright then. We will go with option (a). @Gilbert and @Sachin, can you > come on the IRC tonight? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sympy" group.

[sympy] Re: SciPy 2013 Conference Sprints

2013-06-16 Thread Aaron Meurer
On Friday, June 14, 2013, Aaron Meurer wrote: > On Fri, Jun 14, 2013 at 11:19 AM, Matthew Rocklin > > > wrote: > > SciPy is a bit over a week away. I'd like to resurrect this thread. > Here > > are some ideas for sprints that would interest me or that have come up > > recently > > > > Assumptio

[sympy] Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Shriramana Sharma
Hello. Has anyone tried to use the SymPyPrt IPython extension for pretty pretting in *ubuntu Raring? After upgrading to Raring, I find that I can no longer use the extension in either IPy2 or IPy3. Previously on Precise it worked out of the box for IPy2 and after some effort for IPy3. Now I get th

[sympy] Re: Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Shriramana Sharma
So I also tried this in IPython3 Notebook, but again some problem: In [1]: %load_ext sympy.interactive.ipythonprinting from sympy import * var('x') Out[1]: [Math Processing Error] Using Firefox 21. -- Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा -- You received this message because you are

[sympy] Help needed in solving a PDE

2013-06-16 Thread Manoj Kumar
Hello, I have finished work on two heuristics and the 3rd one seems a bit vague (I'd dare say all from now on), since the paper doesn't specify what exactly has to be done. I need to solve for this PDE (lambda.diff(x)) + h* (lambda.diff(y)) - lambda*(h.diff(y)) where lambda according to the pa

Re: [sympy] Re: Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Aaron Meurer
What versions of SymPy and IPython are you using? Aaron Meurer On Sun, Jun 16, 2013 at 11:42 AM, Shriramana Sharma wrote: > So I also tried this in IPython3 Notebook, but again some problem: > > In [1]: > > %load_ext sympy.interactive.ipythonprinting > > from sympy import * > > var('x') > > Out[

Re: [sympy] Re: Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Shriramana Sharma
On Mon, Jun 17, 2013 at 12:28 AM, Aaron Meurer wrote: > What versions of SymPy and IPython are you using? Sorry about that -- python3-sympy 0.7.2-1raring1 and ipython3 0.13.2-1. -- Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा -- You received this message because you are subscribed to the Googl

Re: [sympy] Evaluating limit of curvature of a bezier at a cusp

2013-06-16 Thread Aaron Meurer
On Sun, Jun 16, 2013 at 10:29 AM, Shriramana Sharma wrote: > Hello Aaron and Chris and thanks for your replies. > > @Aaron: Perhaps you didn't see the script since I've already used > SymPy's limit in it. The question was how to do it *without* limit > (i.e. for implementation in C++ where SymPy d

Re: [sympy] Re: Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Aaron Meurer
We recently fixed a bunch of bugs in the IPython printing extension. Can you try it in the git master (you don't have to install it, just git clone and run the IPython notebook from that directory)? See https://github.com/sympy/sympy/wiki/Getting-the-bleeding-edge. Aaron Meurer On Sun, Jun 16, 2

Re: [sympy] Finding out if an expression is algebraic

2013-06-16 Thread Aaron Meurer
is_algebraic in the new assumptions means algebraic over the rationals. Your definition of algebraic means algebraic over a rational function field over the rationals. In other words, Q.algebraic(a) means a satisfies a polynomial over QQ (the rational numbers), a.is_algebraic_function() means that

[sympy] Re: The Vectors and Electromagnetism GSoC projects

2013-06-16 Thread Prasoon Shukla
I, Gilbert and Sachin met up today on the IRC. We talked about how exactly will we implement the Reference Frames - that is - how the data regarding position and orientation will be stored. Here's the conclusion we reached: 1. The vector module will have a RefFrame class that supports positionin

[sympy] docs.sympy.org/latest

2013-06-16 Thread Aaron Meurer
I have added http://docs.sympy.org/latest, which automatically redirects to http://docs.sympy.org/0.7.2. I made it so that specific pages redirect to specific pages, so for example, http://docs.sympy.org/latest/gotchas.html redirects to http://docs.sympy.org/0.7.2/gotchas.html. Use this from now

Re: [sympy] Re: SciPy 2013 Conference Sprints

2013-06-16 Thread Ondřej Čertík
On Sun, Jun 16, 2013 at 9:45 AM, Aaron Meurer wrote: > On Friday, June 14, 2013, Aaron Meurer wrote: >> >> On Fri, Jun 14, 2013 at 11:19 AM, Matthew Rocklin >> wrote: >> > SciPy is a bit over a week away. I'd like to resurrect this thread. >> > Here >> > are some ideas for sprints that would int

Re: [sympy] Docs padding

2013-06-16 Thread Aaron Meurer
OK, new design question. At http://docs.sympy.org/tutorial/, I've changed the text alignment from justified to left. How does this look to people (I can push up a comparison if it would help)? The justified was putting too many spaces between words in my view, but I'm not sure how I feel about the

[sympy] Re: Docs padding

2013-06-16 Thread Saurabh Jha
I feel that text that is more left justified and has font size around 14 px would be easier to read on screen. What do you feel about it. I don't know if it acceptable in a python-type doc. -Saurabh On Jun 17, 9:22 am, Aaron Meurer wrote: > OK, new design question. Athttp://docs.sympy.org/tutori

Re: [sympy] Re: Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Aaron Meurer
In the git SymPy, it uses latex to render in the qtconsole. So that segfault is likely coming from there. Otherwise, it uses matplotlib, so you need to have that installed. Aaron Meurer On Sun, Jun 16, 2013 at 11:32 PM, Shriramana Sharma wrote: > On Mon, Jun 17, 2013 at 12:40 AM, Aaron Meurer w

[sympy] How to prevent canonisation of fractions

2013-06-16 Thread Ben Lucato
If I have code like so: x = sympy.Symbol('x') y = 1 / (x + 1)**2 it evaluates to y = (x + 1)**(-2) is there a way to prevent that happening and have it remain as 1 / (x + 1)**2. OR: alternatively, is there a way to retrieve 1 / (x + 1)**2 from the canonical form? I've looked at the doc

Re: [sympy] Re: Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Shriramana Sharma
On Mon, Jun 17, 2013 at 12:40 AM, Aaron Meurer wrote: > We recently fixed a bunch of bugs in the IPython printing extension. > Can you try it in the git master (you don't have to install it, just > git clone and run the IPython notebook from that directory)? See > https://github.com/sympy/sympy/w

Re: [sympy] How to prevent canonisation of fractions

2013-06-16 Thread Aaron Meurer
Internally, there is no difference between 1/(x + 1)**2 and (x + 1)**-2. There is no class in SymPy that represents division. 1/x is represented internally as just Pow(x, -1). If all you care about is printing, then I recommend you modify the printer. Which printer are you using? What you need

Re: [sympy] Re: Problem with using SymPyPrt on both IPy2 and IPy3

2013-06-16 Thread Shriramana Sharma
On Mon, Jun 17, 2013 at 10:12 AM, Aaron Meurer wrote: > it uses latex to render in the qtconsole. So that > segfault is likely coming from there. Hmm -- it seems it's a DVIPNG bug for whatever reason. Even (the dvi output of) a simple LaTeX document like: \documentclass[16pt]{article} \usepackag

[sympy] Slow tests

2013-06-16 Thread Jason Moore
Is there a mechanism in place to allow very slow tests to run? We have one very robust test problem for the mechanics package that runs the KanesMethod object through the ringer. We'd like to include the test but it takes 3 minutes on a decent machine to run. Jason moorepants.info +01 530-601-9791

Re: [sympy] SciPy 2013 Conference Sprints

2013-06-16 Thread Jason Moore
Automating the release sounds like a great sprint topic, one that is very tractable and will provide a long needed feature. Jason moorepants.info +01 530-601-9791 On Fri, Jun 14, 2013 at 9:40 AM, Aaron Meurer wrote: > On Fri, Jun 14, 2013 at 11:19 AM, Matthew Rocklin > wrote: > > SciPy is a

Re: [sympy] How to prevent canonisation of fractions

2013-06-16 Thread Ben Lucato
Ok cool I thought it might be a case of just having to modify how I print. I'm not using any special printer - just doing print sympy.latex(y) Thanks for your quick response!!! :- ) On Monday, 17 June 2013 14:45:19 UTC+10, Aaron Meurer wrote: > > Internally, there is no difference between 1/(x