[sympy] Fibonacci Reverse Calculation?

2016-04-07 Thread Amy Valhausen
Fibonacci Reverse Calculation? Hi All! I was reading Dr Knotts entries about Binets formula on his fibonacci page http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibFormula.html I entered the formula into an Excel spreadsheet to see how this would work ; Binet Formula Fib(n) =

Re: [sympy] Implementation of Holonomic Functions

2016-04-07 Thread Ondřej Čertík
Hi Prince, On Thu, Apr 7, 2016 at 3:11 PM, Prince Kumar wrote: > Hi, > I have already submitted my proposal on "Implementation of Holonomic > function" .I had almost completed the theoratical part of it and right now > having a analysis on how to implement the required

[sympy] Implementation of Holonomic Functions

2016-04-07 Thread Prince Kumar
Hi, I have already submitted my proposal on "Implementation of Holonomic function" .I had almost completed the theoratical part of it and right now having a analysis on how to implement the required operations using the given tool. I just wanted to know that if anyone other than me too have

Re: [sympy] Pretty print expressions

2016-04-07 Thread Aaron Meurer
Is \00\ supposed to be a symbol named "\00\"? If so, you can wrap it with Symbol and a string like Symbol(r"\00\"). That is s = 'L*P**2*Q**3{-b*l*conjugate(p)*Symbol(r"\00\") + -a*p*q**3*Symbol("\11\")}' Aaron Meurer On Thu, Apr 7, 2016 at 7:32 AM, Luv Agarwal wrote: >

Re: [sympy] Demo jupyter notebooks with SymPy

2016-04-07 Thread Ondřej Čertík
Hi Björn, On Thu, Apr 7, 2016 at 4:09 AM, Björn Dahlgren wrote: > > > On Sunday, 30 August 2015 23:00:43 UTC+2, Aaron Meurer wrote: >> >> That sounds like a good idea. Having them in a separate repo would make it >> less of a big deal to include inline plots in the notebooks. >

Re: [sympy] Demo jupyter notebooks with SymPy

2016-04-07 Thread Ashutosh Saboo
Hi Björn and Aaron, Seems like a good idea Björn. Although, as I had already told you Aaron, that I had started working on iPython Notebooks for SymPy Gamma here - https://sympy-gamma-testing.appspot.com/ . Though there seems to be some problem I guess with Jupyter itself. I'll try and fix

Re: [sympy] Sympy vs Numpy, better accuracy in precision?

2016-04-07 Thread Aaron Meurer
You can see how mpmath works here http://mpmath.org/doc/current/technical.html#representation-of-numbers. It basically uses man*2**exp binary representation. For instance In [249]: Float("0.1")._mpf_ Out[249]: (0, 3602879701896397, -55, 52) The first entry is the sign (positive). The next two

Re: [sympy] Any way to factor a quadratic

2016-04-07 Thread Aaron Meurer
I was going to suggest solve_undetermined_coeffs, but it doesn't seem to work on multivariate polynomials. Aaron Meurer On Thu, Apr 7, 2016 at 12:30 AM, Jason Moore wrote: > Say I have an expression that I know is quadratic in u1, u2, u3: > > expr = k00*u1**2 + k01*u1*u2 +

Re: [sympy] Sympy vs Numpy, better accuracy in precision?

2016-04-07 Thread Oscar Benjamin
On 5 April 2016 at 18:21, Isuru Fernando wrote: > > I think the current way of representing Floats is reasonable. > > Float internally keeps it in binary representation, so any non-terminating > number in base 2 is truncated when stored as a Float. That's why there is a > string

Re: [sympy] Sympy vs Numpy, better accuracy in precision?

2016-04-07 Thread Oscar Benjamin
On 5 April 2016 at 18:08, Aaron Meurer wrote: > On Tue, Apr 5, 2016 at 12:54 PM, Oscar Benjamin > wrote: >> >>> >>> I don't know if it should be considered a bug, but it's worth noting >>> that if you want SymPy to give the right precision in

Re: [sympy] Re: Pretty print expressions

2016-04-07 Thread Oscar Benjamin
On 7 April 2016 at 13:50, Luv Agarwal wrote: > Also, is this the right place to ask questions? It is although I don't know the answer to your question. Be patient... -- You received this message because you are subscribed to the Google Groups "sympy" group. To

[sympy] Re: Pretty print expressions

2016-04-07 Thread Luv Agarwal
Also, is this the right place to ask questions? -- 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...@googlegroups.com. To post to this group, send email

[sympy] Pretty print expressions

2016-04-07 Thread Luv Agarwal
Hey, I am doing some calculations. I wanted to print the following string as pretty_print: *s = 'L*P**2*Q**3{-b*l*conjugate(p)|00\ + -a*p*q**3|11\}'* One way I could think is to apply *parse_expr* first and then pretty print but it can't take '\'s and brackets (Is there any way to ignore these

Re: [sympy] Demo jupyter notebooks with SymPy

2016-04-07 Thread Björn Dahlgren
On Sunday, 30 August 2015 23:00:43 UTC+2, Aaron Meurer wrote: > > That sounds like a good idea. Having them in a separate repo would make it > less of a big deal to include inline plots in the notebooks. > Yes, I have strong feelings against checking in any inline plots (or generated binary