Re: [sympy] principle root

2012-02-05 Thread Chris Smith
On Mon, Feb 6, 2012 at 6:48 AM, Aaron Meurer wrote: > Perhaps something along the lines of the Mathematica documentation cited by > Alexey should be added to our docs somewhere (the docstring of real_root > maybe). see https://github.com/sympy/sympy/pull/1033 -- You received this message becaus

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

2012-02-05 Thread Andy Ray Terrel
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 > something like this: > >>> n  = Rational.random() > '1/2' sympy.Rational(numpy.random.randint(100), numpy.random.randint(100)) > >>> n = Irrational.random() > '1.414214532' >

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

2012-02-05 Thread Chris Smith
On Sat, Feb 4, 2012 at 2:04 AM, scripts wrote: > Is easier to explain my question with an example, what i'm seeking is > something like this: > >>> n  = Rational.random() > '1/2' > >>> n = Irrational.random() > '1.414214532' > Would something like this work? def rnum(irrational=False): from r

Re: [sympy] GSoC 2012

2012-02-05 Thread Aaron Meurer
Cool. Have you given thought to what kind of project you want to do? Our ideas page is still a little out of date, but it should hopefully get better over the next few weeks. You can also play around with SymPy itself and get ideas from what you find lacking. Aaron Meurer On Feb 5, 2012, at 6:13

Re: [sympy] GSoC 2012

2012-02-05 Thread Jainit Purohit
Hi everyone, I'm Jainit Purohit, junior year student. I am majoring in computer science. And I love mathematics and programming. I'm interested in working with any good idea because of python (The language that I love) and mathematics (awesomeness) . I have been thinking ov

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

2012-02-05 Thread scripts
Is easier to explain my question with an example, what i'm seeking is something like this: >> n = Rational.random() '1/2' >> n = Irrational.random() '1.414214532' anyone have any idea of how implement something like this using sympy? -- You received this message because you are subscribed to

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

2012-02-05 Thread lutusp
The sympy sampler located at http://live.sympy.org/ has an option setting to allow cell output to be rendered as plain text, unicode and latex (rendered by way of mathjax. But it seems the ipython notebook does have this feature (or I can't find it). It would be a nice enhancement to allow this

[sympy] ipython, sympy, Mathjax and latex

2012-02-05 Thread Paul Lutus
The sympy sampler located at http://live.sympy.org allows one to choose the display mode -- plain-text, unicode, and Latex rendered by mathjax. When I saw this, and noted the quality of the output, I assumed that the ipython notebook display would be able to support the last option also (Latex/

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

2012-02-05 Thread Paul Lutus
The online sympy sampler located at http://live.sympy.org has a drop-down list with options for display -- plain text, unicode, and Latex. Even better, it works -- one can get Mathjax renderings of latex content with no effort. But notebook sessions of ipython (a) have no similar menu options,

Re: [sympy] principle root

2012-02-05 Thread Aaron Meurer
Perhaps something along the lines of the Mathematica documentation cited by Alexey should be added to our docs somewhere (the docstring of real_root maybe). Aaron Meurer On Sunday, January 8, 2012, Chris Smith wrote: > Thanks for the reply. So we just leave this alone. > > -- > You received this

Re: [sympy] SymPy 'Plot()' on Maemo 5 OS & 'SymPy for smartphones & tablets' site

2012-02-05 Thread Aaron Meurer
On Sat, Feb 4, 2012 at 6:58 PM, Roberto Colistete Jr. wrote: >    Hi, > >    I have recently released PyGlet and a new SymPy package version for Maemo > 5 OS (Nokia N900 smartphone), so SymPy 'Plot()' can now work on a > smartphone, including interactive manipulation of OpenGL plots. > > http://ta

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

2012-02-05 Thread Matthew Rocklin
In pull request 1015 you can do this with the following code In [1]: A = MatrixSymbol('a', 3, 3) In [2]: print A.as_explicit() [a(0, 0), a(0, 1), a(0, 2)] [a(1, 0), a(1, 1), a(1, 2)] [a(2, 0), a(2, 1), a(2, 2)] Each of these entries are a unique symbol (

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

2012-02-05 Thread Comer
I am working on a project which requires that I create a matrix of symbols. For discussion purposes say the matrix is 3 x 3. The matrix is to contain 9 unique symbols and my preferred format is the usual matrix format: a11, ..., a33 = symbols('a_11 a_33') Now obviously I could easily just typ

Re: [sympy] SymPy 'Plot()' on Maemo 5 OS & 'SymPy for smartphones & tablets' site

2012-02-05 Thread Roberto Colistete Jr.
Em 05-02-2012 15:36, krastanov.ste...@gmail.com escreveu: Hi, The maemo stuff can be quite useful for me. Thanks. Hi Stefan, I am also waiting for your 'Plotting framework' (https://github.com/sympy/sympy/pull/673) using MatPlotLib to become available to SymPy git master, so I will

Re: [sympy] SymPy 'Plot()' on Maemo 5 OS & 'SymPy for smartphones & tablets' site

2012-02-05 Thread krastanov.ste...@gmail.com
Hi, The maemo stuff can be quite useful for me. Thanks. I do not think that anybody among the developers will be against if you add those (as a link or even better as a wiki page) to the wiki (it's publicly editable on github). On 5 February 2012 02:58, Roberto Colistete Jr. wrote: >    Hi, > >

[sympy] mpmath.nstr and sympy.Matrix

2012-02-05 Thread Akin
Hi, mpmath.nstr does not seem to work on a sympy.Matrix whereas the doc string somewhat implies that it should ("this function useful for printing collections of numbers (lists, matrices, etc)."). The following lines of code illustrate the problem: from sympy import * from mpmath import nstr from

Re: [sympy] Re: Extended LaTeXModule for Sympy

2012-02-05 Thread Alan Bromborsky
On 02/04/2012 11:36 AM, Akin wrote: Thank you very much. Two quick questions: 1) Is it currently possible to print the sympy expressions to stdout and at the same time write the latex output to a file? In this case, the latex file would be a kind of logging device. 2) Is it currently possible to

Re: [sympy] GSoC 2012

2012-02-05 Thread Ondřej Čertík
Hi Aaron, On Sat, Feb 4, 2012 at 1:01 PM, Aaron Meurer wrote: > Hi everyone. > > Google has officially announced that they will be running Google > Summer of Code 2012.  See > http://www.google-melange.com/gsoc/homepage/google/gsoc2012.  There is > also a linke to a timeline on that page. > > We

[sympy] Re: Little out of topic

2012-02-05 Thread Saptarshi Mandal
Hi, US schools in general are really good. Apply to some good state schools that have a lot of IITians enrolled and you will feel right at home. UMD, UT Austin, Georgia Tech and UCLA have good applied math programs. If you are feeling really ambitious you could even try applying to the ivy leagu

Re: [sympy] should solver parse strings?

2012-02-05 Thread Aaron Meurer
See http://code.google.com/p/sympy/issues/detail?id=2966. Aaron Meurer On Mon, Jan 30, 2012 at 2:42 AM, Chris Smith wrote: > Maybe this should be a function in the parsing modulle. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to t