Re: [sympy] how to convert latex expression into sympy expression?

2017-06-14 Thread Christophe BAL (via GMAIL)
https://groups.google.com/d/msgid/sympy/5f86b9c7-1ace-410c-aeb7-c57f505c42ff%40googlegroups.com <https://groups.google.com/d/msgid/sympy/5f86b9c7-1ace-410c-aeb7-c57f505c42ff%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- C

[sympy] Sympy Gamma - Web Design

2017-05-04 Thread Christophe BAL (via GMAIL)
Hello. I play a little with Sympy Gamma and I think that it would be better to not show sympy commands by default. It should be better to decide to hide them and to have the possibility to show sympy commands if we want it. Just a suggestion. ;-) -- Christophe BAL Enseignant Agrégé

[sympy] Double recursive relation and normal form

2017-02-03 Thread Christophe Bal
a normal form if it exists ? *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French teacher of **math** in a high school **and **amateur **Python * *developer* -- You received this message because you are subscribed to the Google Groups "sympy&q

Re: [sympy] Re: Derivative without Simplification

2016-06-06 Thread Christophe Bal
Hello. Have you try factorization ? *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French teacher of **math** in a high school **and **amateur **Python * *developer* 2016-06-06 14:55 GMT+02:00 Richard Fateman <fate...@gmail.com>: >

Re: [sympy] Can I get a tree containing the order of operations for an expression?

2016-04-06 Thread Christophe Bal
Hello. It should be fairly easy to transform the sympy output into a Graphviz file. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French teacher of **math** in a high school **and **amateur **Python * *developer* 2016-04-06 23:32 GMT+02:00

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-24 Thread Christophe Bal
Hello As a teacher in a high school, I think that a non modal window would be really useful. Le 24 mars 2016 06:46, "Aman Deep" a écrit : > Hi Everyone, > > > I was finally able to integrate mathquill with latex2sympy in the Jupyter > notebook. > > > Here is a screenshot

[sympy] Tree API

2016-02-03 Thread Christophe Bal
Hello. I would like to use Sympy si as to do step by step calculations. My idea would be to pay with the tree of expressions. Does the tree API is rich enough for example to fins subtree ? C. -- You received this message because you are subscribed to the Google Groups "sympy" group. To

Re: [sympy] Simplify the result of inverse laplace transform of a simple second order transfunction

2016-01-01 Thread Christophe Bal
* > (s+p2) ), then the inverse laplace transform becomes: > > k*e^(-p1*t) / (p1-p2) + k*e^(-p2*t) / (p1-p2) > > *which is what I prefer.* It is weird to me that adding a constant 'k' > change the form that Sympy chooses to show the result. > > On Friday, January 1, 2016 at 2

Re: [sympy] Simplify the result of inverse laplace transform of a simple second order transfunction

2015-12-31 Thread Christophe Bal
Hello. Have you triez to expand 1nd then to factorize the formula ? Le 1 janv. 2016 03:42, "Ken" a écrit : > I've just started learning Sympy. I wrote a few lines of code to perform a > inverse laplace transform on a simple 2nd order transfunction: > > H(s) = 1 / ((s+p1) *

[sympy] @ for composition

2015-10-04 Thread Christophe Bal
Hello. The new operator @ could be usez to define composition of two functions : g@f(x) = g(f(x)). Bad or good idea ? -- 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

Re: [sympy] @ for composition

2015-10-04 Thread Christophe Bal
h. > > Aaron Meurer > > On Sun, Oct 4, 2015 at 12:23 PM, Christophe Bal <projet...@gmail.com> > wrote: > > Hello. > > > > The new operator @ could be usez to define composition of two functions : > > g@f(x) = g(f(x)). > > > > Bad or good idea ?

Re: [sympy] Re: Real Functions

2015-09-19 Thread Christophe Bal
Hello. Have you tried this ? *from sympy import ** *class f(Function):* *is_real = True* *x = Symbol('x',real=True)* *df = f.diff(x)* *print(re(df))* *print(im(df))* *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher

Re: [sympy] latex() "escapes" latex forms in IPython

2015-09-08 Thread Christophe Bal
Hello. All of this is normal. If you use for example print(latex(x**2/2, mode='equation*')), you will have the expected behavior. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a "Lycée" **and **Python **amateur

Re: [sympy] diff(x^x,x)

2015-05-31 Thread Christophe Bal
I also vote for the TypeError. Le 31 mai 2015 23:17, Joachim Durchholz j...@durchholz.org a écrit : Am 31.05.2015 um 22:50 schrieb Aaron Meurer: Perhaps we should make derivatives of booleans give TypeError. That would make it much easier to see what is going on. +1 Similarly,

Re: [sympy] diff(x^x,x)

2015-05-30 Thread Christophe Bal
And because *x^x* means *x xor x* which numeric value is *0* or *1* so the derivative is equal to zero. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* -- You received

Re: [sympy] Expressions Involving Infinity

2015-05-17 Thread Christophe Bal
Hello. I think that the 2nd writing will be hard to handle in more complex calculus. Maybe the three possibilities should be available if an assumption is made on x. A simple user. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math

Re: [sympy] [JOB] Work full time on Project Jupyter/IPython

2015-05-11 Thread Christophe Bal
Why am I french ? I feel so sorry to be too far from LA... *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2015-05-11 19:28 GMT+02:00 Brian Granger elliso...@gmail.com: Hi all

Re: [sympy] Re: Question about the management of the pull requests

2015-04-04 Thread Christophe Bal
Hello. Thanks a lot for the guru's tips about local PRs. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2015-04-02 17:52 GMT+02:00 Aaron Meurer asmeu...@gmail.com: You can also

Re: [sympy] Re: Question about the management of the pull requests

2015-04-02 Thread Christophe Bal
atom. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2015-04-02 11:06 GMT+02:00 Francesco Bonazzi franz.bona...@gmail.com: On Wednesday, April 1, 2015 at 11:35:40 PM UTC+2

[sympy] Question about the management of the pull requests

2015-04-01 Thread Christophe Bal
Hello. I'm learning git and I have a question abut the way the core developers of sympy manages the multiple pull requests with potential conflict. How do you do that ? *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée

Re: [sympy] Re: Issue : limit(abs(log(x)),x,0,'+')

2015-02-11 Thread Christophe Bal
Hello. Maybe, it could be useful to have a abssimplify method that will try to simplify abs expressions. Christophe BAL Le 11 févr. 2015 11:54, Arnaud Usciati rait...@gmail.com a écrit : Hi, I found another error limit : If x = symbols('x', positive=True), limit(tan(abs(x))/acosh(x), x, pi

Re: [sympy] Summation of function

2015-02-03 Thread Christophe Bal
Ok. In that case, summation(exp(a*x), (x, 1.2, 1.5)) = 0 is a normal feature. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2015-02-03 9:11 GMT+01:00 Gaurav Dhingra axyd0

Re: [sympy] Summation of function

2015-02-03 Thread Christophe Bal
. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2015-02-03 9:01 GMT+01:00 Gaurav Dhingra axyd0...@gmail.com: Hi, I want to know about the summation function used in sympy

Re: [sympy] simplify doesn't

2014-12-13 Thread Christophe Bal
Hello. If I am not wrong, sympy prefers (-x + y) to (y - x) because a lexical order is used. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2014-12-13 0:46 GMT+01:00 pdknsk pdk

Re: [sympy] Saving an equation as a PNG or JPG?

2014-11-17 Thread Christophe Bal
Hello. Have you considered a text in a matplotlib graph ? Le 17 nov. 2014 13:51, Alan Bromborsky abro...@verizon.net a écrit : If you would send me an example of your code I might be able to suggest a solution. On 11/17/2014 03:13 AM, jeanbigbo...@gmail.com wrote: I'd love to be able to

Re: [sympy] Re: Looking for wrong results

2014-10-31 Thread Christophe Bal
(like floating point precision loss). Christophe BAL 2014-10-31 0:04 GMT+01:00 Richard Fateman fate...@gmail.com: On Wednesday, October 29, 2014 3:38:47 AM UTC-7, Christophe Bal wrote: Hello. I'm writing a french book about SageMathCloud and I'm looking for known wrong results given

Re: [sympy] Re: Formal methods are not human one

2014-10-31 Thread Christophe Bal
to a formula containing arctan whereas my solution do not use it, and was more simple. The problem is that I have not noted this example... Maybe solving some polynomial of degree 3 can give such complicated formulas that a human would not use. Christophe BAL 2014-10-30 23:53 GMT+01:00 Richard

Re: [sympy] Re: Formal methods are not human one

2014-10-31 Thread Christophe Bal
Thanks for this hint. If I find revelant example, I will post them in this discussion. 2014-10-31 17:38 GMT+01:00 Aaron Meurer asmeu...@gmail.com: On Fri, Oct 31, 2014 at 6:37 AM, Christophe Bal projet...@gmail.com wrote: Thanks for the answers. Maybe integration will be a good candidate

Re: [sympy] Re: Looking for wrong results

2014-10-31 Thread Christophe Bal
I definitely like this example ! Christophe BAL 2014-10-31 17:33 GMT+01:00 Aaron Meurer asmeu...@gmail.com: Here is a nice example https://groups.google.com/d/msg/sympy/YpV5tyLvWe4/WWRYOTMNIhIJ. It shows great precision loss when evaluating Legendre polynomials naively. Unlike Wilkinson's

Re: [sympy] Re: Looking for wrong results

2014-10-31 Thread Christophe Bal
the binary approximations used in the float format, and also the approximations made to do the binary sum. On the other hand, it is easier to start with 0.1 and 1/10. I will add it in my doc before talking about 0.1+0.2. Christophe BAL Le 31 oct. 2014 21:19, Richard Fateman fate...@gmail.com a écrit

[sympy] Looking for wrong results

2014-10-29 Thread Christophe Bal
posted this question on the Sage list without a lot of success. Christophe BAL -- 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

[sympy] Formal methods are not human one

2014-10-29 Thread Christophe Bal
Hello. I'm looking for formal outputs that are not calculated as a human can do (this is for a free french book). Do you know such kind of examples ? Christophe BAL PS : this questions has been posted on both Sage and Sympy lists. -- You received this message because you are subscribed

Re: [sympy] Looking for wrong results

2014-10-29 Thread Christophe Bal
interval arithmetic in SymPy. [1]: [How Futile are Mindless Assessments of Roundoff in Floating-Point Computation?]( http://www.cs.berkeley.edu/~wkahan/Mindless.pdf) On 29 October 2014 16:08, Christophe Bal projet...@gmail.com wrote: Hello. I'm writing a french book about SageMathCloud

Re: [sympy] A goof-up in symbolic math software

2014-10-28 Thread Christophe Bal
+1 C. 2014-10-28 17:29 GMT+01:00 Aaron Meurer asmeu...@gmail.com: Being open source is definitely a plus for SymPy here. The authors could have stepped through SymPy with a debugger to help figure out their problem, and submitted a pull request for a fix once they found it. It's not

Re: [sympy] Re: Why 1/3 == S(1)/3 is True ?

2014-10-03 Thread Christophe Bal
Yes but the set of floats is not even a sub ring of the set of rational numbers. 2014-10-03 5:43 GMT+02:00 Richard Fateman fate...@gmail.com: On Thursday, October 2, 2014 11:11:14 AM UTC-7, Christophe Bal wrote: And what about the following code ? The user of Sympy must know that types

Re: [sympy] Re: Why 1/3 == S(1)/3 is True ?

2014-10-03 Thread Christophe Bal
Just done. 2014-10-03 21:35 GMT+02:00 Sergey Kirpichev skirpic...@gmail.com: On Thursday, October 2, 2014 5:02:10 PM UTC+4, Christophe Bal wrote: For me the fact that 1/3 == S(1)/3 has value True sounds like a bug because 1/3 is a float, and S(1)/3 a rational. Looks as a bug

[sympy] Why 1/3 == S(1)/3 is True ?

2014-10-02 Thread Christophe Bal
Hello. For me the fact that 1/3 == S(1)/3 has value True sounds like a bug because 1/3 is a float, and S(1)/3 a rational. Christophe BAL === PYTHON === from sympy import * a = 1/3 b = S(1)/3 print(a) print(b) print(a == b) print(type(a)) print(type(b)) --- OUTPUT

Re: [sympy] Re: Why 1/3 == S(1)/3 is True ?

2014-10-02 Thread Christophe Bal
On Thursday, October 2, 2014 6:02:10 AM UTC-7, Christophe Bal wrote: Hello. For me the fact that 1/3 == S(1)/3 has value True sounds like a bug because 1/3 is a float, and S(1)/3 a rational. Christophe BAL === PYTHON === from sympy import * a = 1/3 b = S(1)/3 print(a) print(b

Re: [sympy] isympy -i in IPython

2014-10-02 Thread Christophe Bal
Sorry, indeed I was looking for a solution for IPython notebook. In that case, the solution dose not work. I have the following error message. = --- MultipleInstanceError Traceback

[sympy] Fwd: Formula for simple recursive sequences

2014-09-25 Thread Christophe Bal
this question on sage list and one user points me to Sympy. Christophe BAL -- 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

Re: [sympy] Fwd: Formula for simple recursive sequences

2014-09-25 Thread Christophe Bal
): 1}) Out[28]: n a ⋅(a + b - 1) b ── - ─ a - 1a - 1 Aaron Meurer On Thu, Sep 25, 2014 at 3:20 PM, Christophe Bal projet...@gmail.com wrote: Hello. Is it possible to ask to Sympy to give formulas for simple recursive sequences ? For example

Re: [sympy] can sympy do this

2014-09-12 Thread Christophe Bal
Hello. There is n! permutations of a set of n elements and n! ~ sqrt(2 pi n) (n/e)^n due to the Stirling's approximation. So you can expect to have all the permuations with not small value of n. Christophe BAL 2014-09-12 18:07 GMT+02:00 Aaron Meurer asmeu...@gmail.com: SymPy can make use

Re: [sympy] Re: Finding domains of numbers

2014-06-21 Thread Christophe Bal
Hello. I do not know if it is the case but I think that sympy should have a domain method for expressions. This will avoid error like for example float calculations raising to 1 for example that wi-ould not be a natural but a float. C. 2014-06-21 17:08 GMT+02:00 Saurabh Jha

Re: [sympy] solve(...) and roots(...)

2014-06-17 Thread Christophe Bal
Hello. Does your equation solvable symbolically ? At a first glance, I don't think. C. 2014-06-16 10:39 GMT+02:00 Camille Chambon camille.cham...@gmail.com: Hello, I would like to find c2 as 0.66 + 0.34 * (1 + 1.0 / c2) - 1.0 / ln(1 + c2) - 0.7 == 0 Thus I used the function solve

Re: [sympy] SymPy equivalent of itertools.permutations

2014-06-11 Thread Christophe Bal
Hello. What do you want to do ? Christophe BAL 2014-06-11 16:34 GMT+02:00 Amit Saha amitsaha...@gmail.com: Hello, I am looking for the simplest SymPy alternative to this: import itertools for p in itertools.permutations([1, 2, 4]): ... print(p) ... (1, 2, 4) (1, 4, 2) (2, 1

Re: [sympy] Re: pattern replacement for complex numbers and manual factorization

2014-06-07 Thread Christophe Bal
Hello. in Mathematica I can just do expr /.{x_*Conj[x_] - Abs[x]^2} With an easy to use treeview class, I do not think that it will be too hard to implement a method that can acheive this kind of using something like expr.replace(x_*Conj[x_], Abs[x]^2) Christophe BAL -- You received

Re: [sympy] Re: pattern replacement for complex numbers and manual factorization

2014-06-06 Thread Christophe Bal
Hello. All the receipts in this dicussion look very interesting.Maybe all of this ones could be put in the official documentation. Christophe BAL 2014-06-06 13:34 GMT+02:00 Andrei Berceanu andreiberce...@gmail.com: The unflatten_mul function factorized the 2, but not the g, i.e. it returns

Re: [sympy] Re: pattern replacement for complex numbers and manual factorization

2014-06-06 Thread Christophe Bal
the bugs. And then I suppose one could re-write the expressions in a more user-friendly form? What do you propose, Chris? On Friday, June 6, 2014 2:16:15 PM UTC+2, Christophe Bal wrote: Hello. All the receipts in this dicussion look very interesting.Maybe all of this ones could be put

Re: [sympy] Re: pattern replacement for complex numbers and manual factorization

2014-06-06 Thread Christophe Bal
A easy to use treeview will be a great tool. No ? 2014-06-06 19:52 GMT+02:00 F. B. franz.bona...@gmail.com: I think that SymPy needs a better term rewriting system. And also a better pattern matcher. -- You received this message because you are subscribed to the Google Groups sympy group.

Re: [sympy] visualization of recursion

2014-05-06 Thread Christophe Bal
Thanks for this usefull pedagogical tool. Christophe BAL 2014-05-06 2:36 GMT+02:00 Stefan Krastanov krastanov.ste...@gmail.com: You might find this interesting for debugging and code-diving. https://zvzzt.wordpress.com/2014/05/03/python-recursion-visualization-with-rcviz/ -- You

[sympy] Bug ?

2014-05-04 Thread Christophe Bal
Hello. The folowing code gives a wrong output in IPython. Indeed the fraction 1/4 disapears... Christophe BAL *-* *from sympy import ** *init_printing()* *x = var(x)* *f = x**3 + cos(x+1/4)* *print f* -- You received this message because you are subscribed

[sympy] Re: Bug ?

2014-05-04 Thread Christophe Bal
If I use *S(1)/4* or *1./4*, all works as expected. I have understood that is normal because 1/4 is an euclidean division. Sorry, I always use Python 3 where 1/4 is a float division. 2014-05-04 15:24 GMT+02:00 Christophe Bal projet...@gmail.com: Hello. The folowing code gives a wrong output

[sympy] Bug with the ASCII printing

2014-05-04 Thread Christophe Bal
Hello. The following terminal session shows a problem with the ASCII printing because the two last lines. At least, I would expect the use of *S(1)* in the *repr* which is a technical output from my point of view. What do you think about this ? Christophe BAL *---* * from

Re: [sympy] Re: Algebraic data types and pattern matching

2014-04-05 Thread Christophe Bal
Hello, thanks for the link https://github.com/ContinuumIO/pyalge. The problem I met is that the examples are not commented so it is not easy to see a use of this kind of features. I'm ver new to this kind of things. What could be a use of this in Sympy ? Sorry for this noob question. ;-)

Re: [sympy] Re: Are all sympy Floats rational?

2014-03-29 Thread Christophe Bal
[...] what you could do is take any float and convert it to an exactly equal numeric quantity that is a sympy rational. And you could take that number and convert it to a float. without loss. There is a little with this approach. The float algorithm are generally more efficient that the

Re: [sympy] Re: Are all sympy Floats rational?

2014-03-29 Thread Christophe Bal
Does Sympy supports something like Decimal(1.234) of the standard module decimal ? This could do the job. On the other hand, Sympy should print something like Float(1.234, 10) so as to say to the user that a float with a mantisse of 10 digits is used. Good or wrong advices ? Is it feasible ? --

Re: [sympy] Re: Are all sympy Floats rational?

2014-03-29 Thread Christophe Bal
, schrieb Christophe Bal: Does Sympy supports something like Decimal(1.234) of the standard module decimal ? This could do the job. If that conversion goes through a Python float, this would already incur a loss of precision because 1.234 is not a multiple of a power of 0.5. On the other hand

Re: [sympy] Re: Are all sympy Floats rational?

2014-03-23 Thread Christophe Bal
You can prove that any valid IEEE float is a rational No ! Why ? Because of the arithmetic rules. You can have approximation to do. With decimals, you have to do exact calculations. Christophe BAL. 2014-03-23 22:02 GMT+01:00 Richard Fateman fate...@gmail.com: You can prove that any valid

Re: [sympy] Re: Are all sympy Floats rational?

2014-03-20 Thread Christophe Bal
Hello. There is a difference between a decimal, ie a rational which can be written N/10^P and a float. A float number is an approximation so you can't really see it as rationals. No ? Christophe BAL 2014-03-20 22:35 GMT+01:00 Aaron Meurer asmeu...@gmail.com: Can you think of a fact

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Christophe Bal
Hello, you can also look at Bokeh http://bokeh.pydata.org/. Christophe BAL 2014-03-18 8:50 GMT+01:00 SAHIL SHEKHAWAT sahilshekhawa...@gmail.com: I have been working on a proposal to implement 3D plotting in SymPyGamma, and Jason pointed me to the importance of d3.js and Three.js backend

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Christophe Bal
This dependencies are due to the fact that this project focuses on datas. I've pointed to this project just for the philosophy of this project. If you want to propose a JS viewer, you just have to translate Sympy plot to the syntax of D3.js and/or three.js or another free JS library. This is not

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Christophe Bal
Christophe! I misunderstood what you said..This look nice Also, With three.js we always have an option to fall back to html canvas which every browser support ( specially IE7 ). I don't think that will a problem. What you say? On Tuesday, March 18, 2014 3:16:43 PM UTC+5:30, Christophe Bal

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Christophe Bal
Sorry for the poorness of my english. Indeed when I wrote formulas I think about legends containing formulas. -- 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

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Christophe Bal
This MathBox is just amazing ! 2014-03-18 11:12 GMT+01:00 Christophe Bal projet...@gmail.com: Sorry for the poorness of my english. Indeed when I wrote formulas I think about legends containing formulas. -- You received this message because you are subscribed to the Google Groups sympy

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Christophe Bal
Do not forget that fixed pictures are useful for paper reports. On the other hand, I think that using web browsers for sliders is the better solution to use actually because of the dynamical features and the JS library that helps to build such sliders. -- You received this message because you

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Christophe Bal
I have a Mac and I can see all the official examples of Three.js. Christophe BAL 2014-03-18 18:13 GMT+01:00 SAHIL SHEKHAWAT sahilshekhawa...@gmail.com: Jason, But all the browser do support HTML Canvas right? and Three.js uses it as a fallback option if there is no WebGL. On Tue, Mar 18

Re: [sympy] dmg for Mac ?

2014-03-11 Thread Christophe Bal
Thanks for this. 2014-03-10 23:39 GMT+01:00 Matthew Brett matthew.br...@gmail.com: Sorry - I sent the message too early accidentally: On Mon, Mar 10, 2014 at 3:31 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Mar 10, 2014 at 3:25 PM, Christophe Bal projet...@gmail.com

Re: [sympy] I want to implement Karr algorithm

2014-03-10 Thread Christophe Bal
Hello, is there someone on this list that knows a good book reference about the Karr summation algorithm ? Christophe BAL 2014-03-10 0:12 GMT+01:00 someone someb...@bluewin.ch: Hi, I am Pritam. I want implement the Karr algorithm for the google summer of code 2014 sympy organisation. I

[sympy] dmg for Mac ?

2014-03-10 Thread Christophe Bal
Hello. I've just seen that NumPy and matplotlib proposes a dmg installer for Python 3. This is very usefull. Is there just one dmg for SymPy ? If not, maybe the setup in the source codes of NumPy and matplotlib could help to build such a dmg for SymPy. Best regards. C. -- You received this

Re: [sympy] RFC: draft PEP for an infix matrix multiplication operator

2014-03-10 Thread Christophe Bal
. Christophe BAL -- 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 to sympy@googlegroups.com. Visit

Re: [sympy] I want to implement Karr algorithm

2014-03-10 Thread Christophe Bal
. Hope this helps. Comer On Monday, March 10, 2014 3:04:37 AM UTC-4, Christophe Bal wrote: Hello, is there someone on this list that knows a good book reference about the Karr summation algorithm ? Christophe BAL 2014-03-10 0:12 GMT+01:00 someone some...@bluewin.ch: Hi, I am Pritam

Re: [sympy] RFC: draft PEP for an infix matrix multiplication operator

2014-03-10 Thread Christophe Bal
+, - and /. Best regards. Christophe BAL -- 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 to sympy@googlegroups.com

Re: [sympy] dmg for Mac ?

2014-03-10 Thread Christophe Bal
:07 GMT+01:00 Matthew Brett matthew.br...@gmail.com: Hi, On Mon, Mar 10, 2014 at 11:59 AM, Aaron Meurer asmeu...@gmail.com wrote: Can you point to this discussion? Aaron Meurer On Mon, Mar 10, 2014 at 4:31 AM, Christophe Bal projet...@gmail.com wrote: Hello. I've just seen

Re: [sympy] dmg for Mac ?

2014-03-10 Thread Christophe Bal
Matthew, could you send me the code you use to build the DMG ? - sympy.test() is too simple for a french brain. :-) The tests give only one warning and one error. *WARNING* sympy/core/tests/test_args.py[572]

Re: [sympy] I want to implement Karr algorithm

2014-03-10 Thread Christophe Bal
Thanks 2. 2014-03-10 23:12 GMT+01:00 someone someb...@bluewin.ch: Hi, is there someone on this list that knows a good book reference about the Karr summation algorithm ? There are about 3 references which are more than a research paper: 1.) Symbolic Summation in Difference Fields

Re: [sympy] RFC: draft PEP for an infix matrix multiplication operator

2014-03-09 Thread Christophe Bal
° that could be better because it is near from the dot scalar of two vectors. *I do not think that @ is really intuitive. * A math user of Sympy, Numpy and Scipy that will note appreciate to use @ for the matrix multiplication. Christophe BAL 2014-03-09 8:54 GMT+01:00 Joachim Durchholz j

Re: [sympy] RFC: draft PEP for an infix matrix multiplication operator

2014-03-09 Thread Christophe Bal
. On the other hand, we also have to heard that the elementwise multipication is often used. The most important thing will be to have a good choice. Best regards. Christophe BAL -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group

Re: [sympy] Gsoc-14 3-Dimensional Geometry.

2014-03-05 Thread Christophe Bal
I've a little suggestion about planar object into a 3D scene. *O = Point(2, 3, 4)* *I = Point(4, 5, 4)* J = Point(2, 3, 7) *line = Line(Point(2,3), Point(3,5)) # z-plane by default* *line2 = **putin((O, I, J), **line**) # Let's go in another plane* This allows to easily put a planar scene in

Re: [sympy] Gsoc-14 3-Dimensional Geometry.

2014-03-05 Thread Christophe Bal
z-plane must be changed to xy-plane. Sorry for this. 2014-03-05 10:26 GMT+01:00 Christophe Bal projet...@gmail.com: I've a little suggestion about planar object into a 3D scene. *O = Point(2, 3, 4)* *I = Point(4, 5, 4)* J = Point(2, 3, 7) *line = Line(Point(2,3), Point(3,5)) # z-plane

Re: [sympy] Re: complex numbers

2014-03-04 Thread Christophe Bal
be treated as a complex. By giving an integer id for the kind of a number, and by choosing integer_id rational_id reals_id imaginary_id complexe_id, then the kind of number could be the maximum of all the id met in an expression. What do you think about that ? Christophe BAL 2014-03-04 12:36

Re: [sympy] Equivalent of FullForm form Mathematica

2014-03-04 Thread Christophe Bal
Thanks for this two answers. Christophe 2014-03-04 20:25 GMT+01:00 Mateusz Paprocki matt...@gmail.com: Hi, On 3 March 2014 16:30, Christophe Bal projet...@gmail.com wrote: Hello. Is there an equivalent of FullForm that produces simple treeview of a formula ? Here is basic example

Re: [sympy] Re: Gsoc-14 3-Dimensional Geometry.

2014-03-04 Thread Christophe Bal
Hello. In your prototype, you have written : b.arbitrary_point('z') = Point(-13*z +5, -11*z+5, -8z+5) c=Line(Point(2,3), Point(3,5)) # Here the default value of z is taken as 0 Why don't you work with a symbolic variable z ? You will also have to take care of point in segment for example.

Re: [sympy] Re: Gsoc-14 3-Dimensional Geometry.

2014-03-04 Thread Christophe Bal
Sorry for my message, I was drunk... ;-) 2014-03-04 21:32 GMT+01:00 Akshay akshaynukal...@gmail.com: c=Line(Point(2,3), Point(3,5)) # Here the default value of z is taken as 0 I meant that the z co-ordinate of the point is taken as 0. -- You received this message because you are

[sympy] Equivalent of FullForm form Mathematica

2014-03-03 Thread Christophe Bal
Hello. Is there an equivalent of FullForm that produces simple treeview of a formula ? Here is basic example seen in a video. FullForm[x**2+x**3] = Plus[Power[x, 2], Power[y, 3]] Best regards. Christophe BAL -- You received this message because you are subscribed to the Google Groups sympy

Re: [sympy] Re: New PEP for infix operator

2014-02-26 Thread Christophe Bal
parser. Christophe BAL Le 26 févr. 2014 01:10, Aaron Meurer asmeu...@gmail.com a écrit : Previous PEPs have tried this and failed. This PEP is an attempt at a compromise that suits the community's needs but still has potential to be accepted by the BDFL. Aaron Meurer On Tue, Feb 25, 2014 at 5

Re: [sympy] Re: New PEP for infix operator

2014-02-25 Thread Christophe Bal
Hello. Can you give a little example showing how to define an infix operator in Haskell ? Christophe Le 26 févr. 2014 00:02, Sergey Kirpichev skirpic...@gmail.com a écrit : On Tuesday, February 25, 2014 8:31:02 PM UTC+4, Aaron Meurer wrote: Some people on this list might be interested in

Re: [sympy] Re: GSOC 2014 idea: Adding parsing functionality to Sympy Live

2014-02-23 Thread Christophe Bal
Hello. How will you evaluate thé probability of à language? Christophe, a simple user. Le 23 févr. 2014 04:19, Aditya Shah adityasha...@gmail.com a écrit : I would like to discuss my plan of action to develop the general parsing framework for Sympy. Right now the code is quite messy. The

Re: [sympy] Re: GSOC 2014 idea: Adding parsing functionality to Sympy Live

2014-02-23 Thread Christophe Bal
Thanks for the explanations. 2014-02-23 14:46 GMT+01:00 Aditya Shah adityasha...@gmail.com: Hi Sachin, While I do agree that inclusion of NLP parser would be a big project in itself. But if implemented even as an add-on, it can be used to augment the capabilities of Sympy Live. Btw just a

Re: [sympy] Re: Limit - Bug

2014-02-18 Thread Christophe Bal
() is not that much smarter, but it does have a bad tendency to give wrong answers when gruntz() works just fine. Aaron Meurer On Mon, Feb 17, 2014 at 1:29 PM, Christophe Bal projet...@gmail.com wrote: Thanks for this. 2014-02-17 19:21 GMT+01:00 Avichal Dayal avichal.da...@gmail.com: However gruntz

Re: [sympy] Re: Limit - Bug

2014-02-18 Thread Christophe Bal
Thanks. I've just tried 2014-02-18 13:20 GMT+01:00 Sergey Kirpichev skirpic...@gmail.com: On Tuesday, February 18, 2014 12:51:50 PM UTC+4, Christophe Bal wrote: Hello, what is the origin of this name gruntz ? From the name of algorithm author. 2014-02-18 1:57 GMT+01:00 Aaron Meurer

Re: [sympy] Gsoc-14 3-Dimensional Geometry.

2014-02-18 Thread Christophe Bal
Hello, as a simple user, I think the support of conic and quadratic is also needed for 2D and 3D geometry. There is also a need to allow a way to put a 2D context into the 3D one. Christophe BAL 2014-02-18 20:32 GMT+01:00 Akshay akshaynukal...@gmail.com: Hello, The current geometry module

Re: [sympy] Re: Limit - Bug

2014-02-18 Thread Christophe Bal
Thanks for this reference. Christophe Le 19 févr. 2014 00:39, someone someb...@bluewin.ch a écrit : Hi, what is the origin of this name gruntz ? On Computing Limits in a Symbolic Manipulation System: ftp://ftp.inf.ethz.ch/doc/dissertations/th11432.ps.gz A nice text to read. -- You

[sympy] Limit - Bug

2014-02-17 Thread Christophe Bal
Hello. limit((x*exp(x))/(exp(x)-1), x, -oo) gives -oo Is this a bug or am I a bug ? Best regards. Christophe -- 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

Re: [sympy] Re: Limit - Bug

2014-02-17 Thread Christophe Bal
Thanks for this. 2014-02-17 19:21 GMT+01:00 Avichal Dayal avichal.da...@gmail.com: However gruntz gives the correct result:- gruntz((x*exp(x)) / (exp(x)-1), x, -oo) gives 0 The part of code that is going wrong is already labeled as XXX: todo More specifically the following:- if abs(z0) is

Re: [sympy] Feedback on step-by-step thought

2014-02-15 Thread Christophe Bal
Hello, Gimp allows to convert this kind of file to a PDF one for example. This format would be easier to read directly. Best regards. 2014-02-15 22:47 GMT+01:00 Nitin Agarwal nitinagarwal3...@gmail.com: xcf file is a GIMP Image file. You can probably use GIMP to open this file. *Nitin

Re: [sympy] User-friendly for sympy

2014-02-06 Thread Christophe Bal
Thanks for this. Christophe. 2014-02-06 Shipra Banga bangashi...@gmail.com: Sympy runs on a python terminal as of now. Using kivy I have tried to build a user-friendly interface which makes it easier for users to type out maths equations using a customized virtual keyboard for it.

Re: [sympy] Gsoc 14

2014-01-29 Thread Christophe Bal
Hello. Akshay says : My idea is to extend the current module which has only ellipse class to add both Hyperbolae and Parabolae classes to the Geometry module. You could work on a class Conic. Using projective geometry, it's easy to deal with all the different kinds of conics. Christophe,

Re: [sympy] Gsoc 14

2014-01-29 Thread Christophe Bal
That's right but it could be useful to have such a class fir more general context. Le 29 janv. 2014 10:05, Akshay akshaynukal...@gmail.com a écrit : @Christophe I thought of that but Ellipse and Circle have already been implemented.Furthermore one class cannot generalise all these conic

Re: [sympy] Set and Check a Symbol's Constant/Variable State

2013-12-29 Thread Christophe Bal
Hello. What is the difference with à variable and à.constant in fir example the formula a*x**2 + b*x + c ? For mathematical point of view, a, b, c and x are.variables. Christophe Le 29 déc. 2013 16:26, Roger W raw...@gmail.com a écrit : I want to develop a procedure in sympy to determine

Re: [sympy] Re: Defining arbitrary functions

2013-12-24 Thread Christophe Bal
Hello, following the advice of Aaron, here is a more generic way to do that. *=== CODE ===* *from sympy import ** *variables = [* *x for x, _ in zip(* *numbered_symbols(prefix = 'x', start = 1), * *range(1,4)* *)* *]* *functions = [* *f for f, _ in zip(* *

  1   2   >