[sympy] evalf modifications

2012-02-06 Thread smichr
There are several evalf problems that were fixed with edits I made in https://github.com/sympy/sympy/pull/1028 . But it would be great to have anyone that understands how mpmath/evalf works to do some more review of it. Mateusz has already said he won't have time for sympy for a while and I haven't

Re: [sympy] how to register in wiki

2012-02-06 Thread Aaron Meurer
Nope. You should be able to edit the wiki if you are logged in. Aaron Meurer On Mon, Feb 6, 2012 at 10:46 PM, Gagan Deep wrote: > i have github accountdo i need to register explicitly? > > > On Tue, Feb 7, 2012 at 2:51 AM, krastanov.ste...@gmail.com > wrote: >> >> I think that you need a gi

Re: [sympy] how to register in wiki

2012-02-06 Thread Gagan Deep
i have github accountdo i need to register explicitly? On Tue, Feb 7, 2012 at 2:51 AM, krastanov.ste...@gmail.com < krastanov.ste...@gmail.com> wrote: > I think that you need a github account. > https://github.com/plans > > On 6 February 2012 22:13, Gagan Deep wrote: > > Hi, > > I am new Sym

Re: [sympy] GSoC application

2012-02-06 Thread Ondřej Čertík
On Mon, Feb 6, 2012 at 4:04 AM, krastanov.ste...@gmail.com wrote: > Hi, > > Some of you know me as I have a few minor contributions to sympy and I > helped a bit with GCI. I would like to know whether it is possible for > me to apply for a GSoC project this year? > > About the project I have in mi

Re: [sympy] Why is Mod a Function and Pow an Expr?

2012-02-06 Thread Ronan Lamy
Le mardi 07 février 2012 à 00:25 +0100, krastanov.ste...@gmail.com a écrit : > Add and Mul are AssocOp for obvious reasons. Pow is just an expression > because it is not associative and the next simplest thing is Expr. Why > Mod is a Function and not an Expr? > Yes, this seems inconsistent. Mod sh

Re: [sympy] ipython notebook, sympy, latex, and mathjax

2012-02-06 Thread Brian Granger
To enable MathJax printing in the notebook do: * Start with the sympy profile: ipython notebook --profile sympy OR * Load the sympyprinting extension in a notebook: %load_ext sympyprinting Cheers, Brian On Sat, Feb 4, 2012 at 1:35 AM, lutusp wrote: > The sympy sampler located at http://liv

[sympy] Why is Mod a Function and Pow an Expr?

2012-02-06 Thread krastanov.ste...@gmail.com
Add and Mul are AssocOp for obvious reasons. Pow is just an expression because it is not associative and the next simplest thing is Expr. Why Mod is a Function and not an Expr? -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send

Re: [sympy] Re: GSoC 2012

2012-02-06 Thread krastanov.ste...@gmail.com
On 6 February 2012 21:06, Aaron Meurer wrote: > Right.  Stefan, can you update the ideas page to reflect the new > module, and any potential project(s) that can be made of it? I have done it. Especially interesting will be to have an "asymptote detector", manupulate() and animation() functions and

Re: [sympy] GSoC application

2012-02-06 Thread Matthew Rocklin
I should point out that the linear algebra vision page was just something I started after your e-mail. It reflects my thoughts and not necessarily those of the community in general. On Mon, Feb 6, 2012 at 1:30 PM, krastanov.ste...@gmail.com < krastanov.ste...@gmail.com> wrote: > Hi, > > Thanks fo

Re: [sympy] GSoC application

2012-02-06 Thread krastanov.ste...@gmail.com
Hi, Thanks for the feedback. I will try to prepare some kind of a blueprint (at least some imaginary code examples) and then we can discuss them. Matt has also sent me https://github.com/sympy/sympy/wiki/Linear-Algebra-Vision There are some points from it that were not in my vision of the potenti

Re: [sympy] how to register in wiki

2012-02-06 Thread krastanov.ste...@gmail.com
I think that you need a github account. https://github.com/plans On 6 February 2012 22:13, Gagan Deep wrote: > Hi, > I am new Sympy. I am not able to register in wiki(https://github.com/ > sympy/sympy/wiki).Can anyone tell where is the option for this. In > this wiki its written that its in top r

[sympy] how to register in wiki

2012-02-06 Thread Gagan Deep
Hi, I am new Sympy. I am not able to register in wiki(https://github.com/ sympy/sympy/wiki).Can anyone tell where is the option for this. In this wiki its written that its in top right. but i am not able to find it? -- You received this message because you are subscribed to the Google Groups "sy

Re: [sympy] Re: question about creating a 2d array of symbols

2012-02-06 Thread Chris Smith
On Mon, Feb 6, 2012 at 11:44 PM, miham wrote: > In case you can't find it in the previous post, here it is again: > > Matrix(3, 3, lambda i,j: Symbol('a_%d%d' % (i,j))) Very nice! -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group,

Re: [sympy] OT?: Mathjax rendering in ipython notebook / sympy profile

2012-02-06 Thread Aaron Meurer
Hi. Some of these things are SymPy bugs, and some are IPython bugs. If --profile=sympy doesn't work, and you are in fact using the newest version of SymPy/IPython, it should work. If not, it is an IPython bug, and should be reported to them. As far as adding a GUI to the notebook to enable this,

Re: [sympy] GSoC application

2012-02-06 Thread Aaron Meurer
Hi. This is great. I think we definitely need to improve that module. You've already completed the patch requirement, so I would spend time discussing your idea with the community. Once you've got a solid idea, you can start writing an application (though it's still early, so don't worry about t

Re: [sympy] Re: GSoC 2012

2012-02-06 Thread Aaron Meurer
Right. Stefan, can you update the ideas page to reflect the new module, and any potential project(s) that can be made of it? Aaron Meurer On Mon, Feb 6, 2012 at 12:48 PM, miham wrote: > The framework with matplotlib and Pyglet backends is right now beeing > reviewed for inclusion in master. See

[sympy] Re: GSoC 2012

2012-02-06 Thread miham
The framework with matplotlib and Pyglet backends is right now beeing reviewed for inclusion in master. See https://github.com/sympy/sympy/pull/673. This doesn't mean you couldn't imporove it even further though. On Feb 6, 5:42 pm, Edyta Przymus wrote: > Hello SymPy, > > I am an undergraduate stu

Re: [sympy] Algebras

2012-02-06 Thread Tom Bachmann
If you search the list you will find that there have been long but unfruitful discussions about this. The main reason why this structure was proposed was (iirc) because it allows to implement a clean assumptions and caching system. Some people find it generally cleaner than the current structur

[sympy] Re: OT?: Mathjax rendering in ipython notebook / sympy profile

2012-02-06 Thread miham
> A number of posts say that an invocation of -- > > $ ipython --profile=sympy > > -- will automatically enable "pretty printing" but the term "pretty > printing" is ambiguous, and in my experience, this invocation never enables > Latex / Mathjax rendering. You mean $ ipython notebook --profile=s

[sympy] Re: question about creating a 2d array of symbols

2012-02-06 Thread miham
In case you can't find it in the previous post, here it is again: Matrix(3, 3, lambda i,j: Symbol('a_%d%d' % (i,j))) -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this

[sympy] Re: question about creating a 2d array of symbols

2012-02-06 Thread miham
Try this: >>> Matrix(3, 3, lambda i,j: Symbol('a_%d%d' % (i,j))) -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups

[sympy] Algebras

2012-02-06 Thread Matthew Rocklin
I was wandering around in the wiki and found this https://github.com/sympy/sympy/wiki/Algebras-in-SymPyCore which points to this http://sympycore.googlecode.com/svn/trunk/doc/html/structure.html Generally I like this idea. Are there reasons, other than inertia, why this hasn't been implemented? T

[sympy] Re: GSoC 2012

2012-02-06 Thread Edyta Przymus
Hello SymPy, I am an undergraduate student loving Python and because of my field of study (control engineering) connected closely to scientific software. I am successful participant of GSoC 2011. A project called Plotting module (from your ideas wiki page) sounds very exciting for me. Could you pl

[sympy] Regarding Gsoc 2012

2012-02-06 Thread Gagan Deep
Hi everyone, My name is Gagan Deep doing major in computer science and engineering. I am new to Sympy and i find it interesting. I want to participate this year in GSoC for sympy. I know python and i started playing with Sympy. I am now trying to fix bugs. I am deeply interested in p

Re: [sympy] GSoC application

2012-02-06 Thread Sean Vig
Stefan, Getting physics to utilize the tensor module sounds like a great idea. If you are looking for more things to flesh out a project, I know the spin module could be greatly improved with a well integrated tensor module, things like Wigner-Eckart theorem and irreducible spherical tensor operat

Re: [sympy] GSoC application

2012-02-06 Thread Matthew Rocklin
Hi Stefan, As someone who has followed and used many of your "minor" contributions (optics, plotting) I'll say that you should definitely apply for a GSoC project this year. I'm confident that your contributions will be very useful. My summer plans are up in the air but I may also end up applying

Re: [sympy] GSoC 2012

2012-02-06 Thread Jainit Purohit
I read documentation before some days and I was playing around with SymPy. I had a look at ideas page and SymPy road-map. But due to midterm at my university I don't have enough time give in. I have a plan to get my hands dirty and fix something to get comfortable with SymPy's code. I'll discuss id

[sympy] GSoC application

2012-02-06 Thread krastanov.ste...@gmail.com
Hi, Some of you know me as I have a few minor contributions to sympy and I helped a bit with GCI. I would like to know whether it is possible for me to apply for a GSoC project this year? About the project I have in mind: It is the tensor module. It is quite bare-bones at the moment. I would like

Re: [sympy] is it possible to generate a number belonging to a specific number set ?

2012-02-06 Thread Andy Ray Terrel
On Mon, Feb 6, 2012 at 12:40 PM, Aaron Meurer wrote: > Is there a good reason to use numpy.random.random instead of just > random.random? Because that's what I was playing with at the time, so no real reason. Is it faster? Nope In [23]: %timeit random.random() 1000 loops, best of 3: 137 ns

Re: [sympy] is it possible to generate a number belonging to a specific number set ?

2012-02-06 Thread Aaron Meurer
Is there a good reason to use numpy.random.random instead of just random.random? Is it faster? Aaron Meurer On Sun, Feb 5, 2012 at 6:28 PM, Andy Ray Terrel wrote: > On Fri, Feb 3, 2012 at 11:19 PM, scripts wrote: >> Is easier to explain my question with an example, what i'm seeking is >> somet

Re: [sympy] is it possible to generate a number belonging to a specific number set ?

2012-02-06 Thread Aaron Meurer
Do you care about the distribution of these numbers? There are many ways to generate random rational numbers, and they will be distributed differently. For example, you could do (random_integer)/(random_integer) (with the integers coming from some distributions). If you want an even distribution