Re: [sympy] What can be used instaed of string to define dynamically formulas

2009-12-08 Thread Christophe BAL
'is_Pow' Aaron Meurer On Dec 8, 2009, at 5:51 AM, Christophe BAL wrote: Hello, I would like to use sympy in the following way : 1. The user types some formula like for example 2*x**3+5. 2. My little program named test.py must have to differentiate this formula. The problem

[sympy] Knowing formulas used during simplifications

2009-12-14 Thread Christophe BAL
Hello, is it possible to know the formulas used by sympy when simplications are done using for example trigsimp ? Christophe. -- You received this message because you are subscribed to the Google Groups sympy group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe

Re: [sympy] Knowing formulas used during simplifications

2009-12-15 Thread Christophe BAL
used the formula sin(x)**2 + cos(x)**2 = 1 . Is it possible or not ? Christophe. 2009/12/15 Ondrej Certik ond...@certik.cz On Mon, Dec 14, 2009 at 3:11 PM, Christophe BAL projet...@gmail.com wrote: Hello, is it possible to know the formulas used by sympy when simplications are done

Re: [sympy] Knowing formulas used during simplifications

2009-12-16 Thread Christophe BAL
I suspect that it will be possible in future versions to ascertain how a piece of algebraic manipulation was performed -- indeed, it would be a requirement for Wolfram Alpha style step-by-step solutions to specific classes of problem. From what I understand about the algorithm Luke is

Re: [sympy] Re: Disabling simplification... is it possibile?

2010-06-30 Thread Christophe BAL
Hello, a little remark. Some people wants sympy to do some step by step calculations. I don't think that is the job of a CAS because firstly the steps depend on the level and the way of the exercises, and secundly the way a CAS works is not the way a human calculates. For my part, I will build a

Re: [sympy] Re: Disabling simplification... is it possibile?

2010-06-30 Thread Christophe BAL
Maybe that there is a way to also incorporate this in sympy somehow, and if it is, I am all for it. For a lot of reasons, I've needed to build my own formula parser. I've a tree structure with objects, each having a tag to know if it is simplified or not. For example, x^2+15/25 will be see

Re: [sympy] delete sympify, just use S

2010-12-06 Thread Christophe BAL
Hello, I think that S is usefull but mystic for new user. Instead of sympify, you could propose the name cvToSympy alias convert to sympy. It's longer but easier to understand. Best regards. Christophe -- You received this message because you are subscribed to the Google Groups sympy group.

Re: [sympy] Re: delete sympify, just use S

2010-12-07 Thread Christophe BAL
Rather than using sympify whioch is reallly close to simplify, why don't you use sympyfy ? I really think that is clearer. Chrisotphe -- You received this message because you are subscribed to the Google Groups sympy group. To post to this group, send email to sy...@googlegroups.com. To

Re: [sympy] Re: delete sympify, just use S

2010-12-09 Thread Christophe BAL
Hello, sympyit looks very good. It sounns like to sympy something. Best regards. Christophe 2010/12/9 Chris Smith smi...@gmail.com Filip Dominec wrote: Alternatively we may leave sympify untouched and use 'simple()' instead of 'simplify()'. I write this function quite often and every

Re: [sympy] missing things from Mathematica

2011-02-17 Thread Christophe BAL
Hello. SymPy is quite close to replace Mathematica for most basic things. Some features are still missing though, so I will try to implement those, but I wanted to discuss my plan here too, in case you would have some suggestions, comments: I think that the better way to do that would be to

Re: [sympy] Re: Symbolic Determinant Problem

2011-02-17 Thread Christophe BAL
Hello. You're right. Christophe. -- 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.com. For more options, visit

[sympy] Python 3

2011-02-26 Thread Christophe BAL
Hello, there are versions of Numpy for Python 3.1. Is there a version of sympy for at least Python 3.1 ? Christophe -- 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

Re: [sympy] Python 3

2011-02-27 Thread Christophe BAL
Hello. 2011/2/27 James Pearson As a note, Python 3.2 just dropped, so I'd target that if you want a specific 3.x version. The better would be to have a Python 3.2 version. It seems that the Python 2... series will not have new features. I hope that in september at least a beta version for

Re: [sympy] Re: all solutions of trigonometric equations

2011-03-11 Thread Christophe BAL
Hello. trigonometric functions in exp/ln expressions with Eulero formulas: $cos(x)=\frac{e^{ix}+e^{-ix}}{2}$ $sin(x)=\frac{e^{ix}-e^{-ix}}{2i}$ with 'i' imaginary unit, and 'x' a real value (if I'm right, 'x' must be real). No. For every complex number z, we have cos z = (exp(iz) +

Re: [sympy] Sets in sympy

2011-03-18 Thread Christophe BAL
free to correct it, and adapt and port it to sympy. Christophe BAL === My code - START === #!/usr/bin/env python #coding=utf-8 # Code writing by BAL Christophe # Mail : pyban...@gmail.com def endPointsToUser(europeanEndpoints, notation): # Lines automatically built by tool_simpleSets.py

Re: [sympy] Pattern matching for sympy tree transformation

2011-03-31 Thread Christophe BAL
Hello. That's look very good. This would also allow to build customized math tree from sympy tree. C. -- 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

Re: [sympy] geometry modifications

2011-05-03 Thread Christophe BAL
Hello, I have a little suggestion. This is similary to Number(2) or Real(2) returning Integer(2) and Integer(1) returning S.One. So now Polygon((1,1)) returns Point(1,1) rather than raising an error. * The only potential problem is that whereas Polygon has an area, Line and point do not.*

Re: [sympy] geometry modifications

2011-05-04 Thread Christophe BAL
Thanks. Christophe. -- 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.com. For more options, visit this group at

[sympy] Solving equations with exp

2011-05-29 Thread Christophe BAL
Hello, I've just tried the following code in Sage : == x = var('x') solve(exp(x)-exp(x**2),x) == The output is : [e^(x^2) == e^x] Why the exp are not cancelled ? Here there is no problem contrary to the case of an equation like

Re: [sympy] Solving equations with exp

2011-05-30 Thread Christophe BAL
Hello, you're right. But it could be usefull to havethe cancellation in case of real equation. -- 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

Re: [sympy] Solving equations with exp

2011-06-02 Thread Christophe BAL
Hello. On the other hand, maybe solve should be able to tell that f(x) - f(y) == 0 implies the solution x == y (but there may be more solutions unless f is one-to-one). Ir could be a nice feature to have the possibility to declare a function to be one-to-one so as to solve the very simple

Re: [sympy] Saving sympy expressions to disk

2011-07-02 Thread Christophe BAL
Hello. I don't know if this will hepl you but I've been in trouble when I've tried to pickle class using lambda functions in one attribut. Best regards. Christophe. -- You received this message because you are subscribed to the Google Groups sympy group. To post to this group, send email to

Re: [sympy] Extent of implementation of combinatorial objects

2011-07-05 Thread Christophe BAL
Hello, you could put this in teh wiki. C. 2011/7/5 Saptarshi Mandal sapta.iit...@gmail.com Hi all, A few days back I implemented a bunch of combinatorial generation algorithms for rather specialized objects (necklaces, lyndon words, bell permutations). These were being reviewed by Chris

Re: [sympy] A GUI for sympy

2011-08-07 Thread Christophe BAL
Hello, pySide or pyQt works well on Linux, Windows and Mac. C. -- 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

Re: [sympy] Plotting framework

2011-10-26 Thread Christophe BAL
Hello, what are the main differences with the current plotting system ? Are there some visual examples ? Best regards. C. 2011/10/26 krastanov.ste...@gmail.com krastanov.ste...@gmail.com Hi, Some time ago I announced that I was playing with some code for a new, more general plotting

Re: [sympy] sympy grammar

2011-11-05 Thread Christophe BAL
Hello, I'm also working for one grammar tool so as to easily define highlight rules, I do not like the way pygments works from develppers' point of view, and also so as to process some simple syntax analysis. So as to acheive this I need one semantic grammar tool. Do you know if there is such

[sympy] Algorithm used to calculate approximation of exp, log, ...

2011-11-15 Thread Christophe BAL
Hello, what are the algorithms used to calculate approximation of exp ? Best regards. Christophe. -- 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

Re: [sympy] Algorithm used to calculate approximation of exp, log, ...

2011-11-16 Thread Christophe BAL
Thanks. Christophe -- 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.com. For more options, visit this group at

Re: [sympy] Interval set

2011-11-30 Thread Christophe BAL
Hello, I don't think that's so great to make [5, 4] the empty set because one interval can also be seen like one convex hull : [a;b] = {k a + (1 - k)b | 0 = k = 1} . Best regards. Christophe. -- You received this message because you are subscribed to the Google Groups sympy group. To post to

Re: [sympy] Don't simplify

2011-12-22 Thread Christophe BAL
Hello Voncent, is it possible to use your code ? Christophe 2011/12/22 Vincent MAILLE htcvi...@gmail.com Hello. Thanks for your answer. Issue 1966 would be fine indeed (I clicked +1). Regarding intervals, I use them afterwards to display the definition domain of the function, but first I

Re: [sympy] Don't simplify

2011-12-26 Thread Christophe BAL
Thanks for this christmas gift ! [?] C. -- 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.com. For more options,

Re: [sympy] user friendly simple equation solver

2012-01-06 Thread Christophe BAL
Hello, try the following. Best regards. Christophe. === #!/usr/bin/env python2 from sympy import * # Une equation toute simple var('a b c') a = 10 b = 20 print solve(a * 12 + 50*c - (456 + b), c) -- You received this message because you are subscribed

Re: [sympy] Re: a**1.0 == a?

2012-01-14 Thread Christophe BAL
Hello. So Float objects should always compare unequal to Rational objects, for example Float(3.0) == Rational(3) should be false? This seems normal because Float(3.0) indicates one approximative number. But on the other Decimal(3.0) == Rational(3) should be true. Best regards. Christophe --

Re: [sympy] a**1.0 == a?

2012-01-15 Thread Christophe BAL
Hello. Hm. Mathematically, they should be the same. Mathematically, the float numbers don't exist ! A float number is not a decimal one. Best regards. Christophe -- You received this message because you are subscribed to the Google Groups sympy group. To post to this group, send email to

Re: [sympy] a**1.0 == a?

2012-01-15 Thread Christophe BAL
What is the implementation of floats ? Is it the traditional one with maximum sizes for the mantisse and the exponent ? If it is, it is not true that float are decimal or even base-2 numbers. Why, because a fixed size of the mantisse implies some approximations. This is not the same

Re: [sympy] zoo*zoo == nan

2012-02-25 Thread Christophe BAL
In that case, zoo*zoo is zoo. No ? Christophe BAL -- 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.com. For more

Re: [sympy] should solvers return lists even if only a single solution exists?

2012-06-02 Thread Christophe BAL
Hello, as a user, I would like to always have one list, the list [] when there is no solution. This allows to simply iterate over each solution and then acts on it, where as for the moment I must take care of the type of the answer. Not very simple, isn't it ? Christophe. 2012/6/2

Re: [sympy] should solvers return lists even if only a single solution exists?

2012-06-03 Thread Christophe BAL
One solution could be to use one customized list class with the following feature. 1. print([]) --- None 2. print([x]) --- x 3. print([a,b,c]) --- [a,b,c] This allows to always have the same kind of object from Python view, and to keep one explorary mode from one console point of view.

Re: [sympy] should solvers return lists even if only a single solution exists?

2012-06-03 Thread Christophe BAL
You said that for a geometer the results should be real (for example). That's not true. In the plane, one geometer can use complex numbers, and in space the use of quaternions can be very usefull. Best regards. Christophe. -- You received this message because you are subscribed to the Google

[sympy] Simple example of contributions

2012-09-26 Thread Christophe BAL
Hello, I would like to know if there some usefull pieces of code to look in so as to learn how to add new functionalities to SymPy. Best regards. Christophe -- You received this message because you are subscribed to the Google Groups sympy group. To post to this group, send email to

Re: [sympy] Re: Expansion of binomials with Rational coeff

2012-10-07 Thread Christophe BAL
Hello, expansion((x+y)**0.2) should raise one error. Christophe -- 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

Re: [sympy] RFC: should Rational accept floats?

2012-12-01 Thread Christophe BAL
don't have one concrete example, but there are situations where the approximation of a/b will give one float, an then one decimal that when it is reconverted to one ration al p/q, this fraction verifies p/q a/b. Christophe BAL -- You received this message because you are subscribed to the Google

Re: [sympy] Step-by-Step Logic evaluation

2013-02-01 Thread Christophe BAL
Hello, I think that it would be very useful to develop one standalone project about step-by-step output. This project will use sympy for hard calculation and maybe other project if necessary. I say that because most of symbolic calculations are far away from the human reasoning. Christophe BAL

Re: [sympy] Step-by-Step Logic evaluation

2013-02-01 Thread Christophe BAL
Be carefull because some problems are hard to solve in their general forms. I'm thinking about SAT-problem which is known to be NP-complete : see this page http://en.wikipedia.org/wiki/Boolean_satisfiability_problem. -- You received this message because you are subscribed to the Google Groups

Re: [sympy] gcd

2013-07-11 Thread Christophe Bal
g = gcd(L[0] ; L[1]). If the result is 1 then nothing else has to be done. 2) If L is empty, g is the gcd, else remove L[0] and L[1] and go to 1). Christophe BAL 2013/7/11 Mateusz Paprocki matt...@gmail.com Hi, On 11 July 2013 11:14, Thilina Rathnayake thilina.r...@gmail.com wrote

[sympy] Suggestion about asin

2013-09-05 Thread Christophe Bal
Hello, I'v just tried to type asin(0.5) which gives 0.523598775598299 . It could be usefull to take care of the classical values of acos x and asin x for x = pi/6 , pi/4 and pi/3 . Best regards. Christophe -- You received this message because you are subscribed to the Google Groups

Re: [sympy] Suggestion about asin

2013-09-06 Thread Christophe Bal
putting in exact fractions: In [1]: asin(S(1)/2) Out[1]: π ─ 6 Best, Tom On 06.09.2013 00:05, Christophe Bal wrote: Hello, I'v just tried to type asin(0.5) which gives 0.523598775598299 . It could be usefull to take care of the classical values of acos x and asin x for x

Re: [sympy] Suggestion about asin

2013-09-06 Thread Christophe Bal
The fact that I''ve focused in my first message is that in asin(1/2) the argument 1/2 is a float whereas in 1/2 + 7/3 it is seen has a fraction. That shows a weakness of asin regarding to the addition. Don't you think the same ? Le 6 sept. 2013 18:26, Sergey B Kirpichev

Re: [sympy] Suggestion about asin

2013-09-06 Thread Christophe Bal
Indeed I've used Sympy Live. Le 6 sept. 2013 23:27, Ondřej Čertík ondrej.cer...@gmail.com a écrit : On Fri, Sep 6, 2013 at 3:19 PM, Christophe Bal projet...@gmail.com wrote: The fact that I''ve focused in my first message is that in asin(1/2) the argument 1/2 is a float whereas in 1/2

Re: [sympy] Suggestion about asin

2013-09-06 Thread Christophe Bal
, Sep 6, 2013 at 3:36 PM, Christophe Bal projet...@gmail.com wrote: Indeed I've used Sympy Live. Le 6 sept. 2013 23:27, Ondřej Čertík ondrej.cer...@gmail.com a écrit : On Fri, Sep 6, 2013 at 3:19 PM, Christophe Bal projet...@gmail.com wrote: The fact that I''ve focused in my first

[sympy] History of Sympy

2013-09-08 Thread Christophe Bal
Hello, is there a little history of the birth and the evolution of Sympy ? I'm interesting by the human adventure. 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

Re: [sympy] History of Sympy

2013-09-08 Thread Christophe Bal
Thanks for this ! Christophe Le 8 sept. 2013 13:55, Thilina Rathnayake thilina.r...@gmail.com a écrit : Hi, See if these links can help. http://docs.sympy.org/0.7.3/aboutus.html http://ondrejcertik.blogspot.com/ Regards, Thilina On Sun, Sep 8, 2013 at 1:50 PM, Christophe Bal projet

Re: [sympy] History of Sympy

2013-09-08 Thread Christophe Bal
Thanks. Christophe Le 8 sept. 2013 19:18, Ondřej Čertík ondrej.cer...@gmail.com a écrit : On Sun, Sep 8, 2013 at 11:18 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Sun, Sep 8, 2013 at 5:55 AM, Thilina Rathnayake thilina.r...@gmail.com wrote: Hi, See if these links can help.

Re: [sympy] History of Sympy

2013-09-08 Thread Christophe Bal
side of things. Aaron Meurer On Sun, Sep 8, 2013 at 11:55 AM, Christophe Bal projet...@gmail.com wrote: Thanks. Christophe Le 8 sept. 2013 19:18, Ondřej Čertík ondrej.cer...@gmail.com a écrit : On Sun, Sep 8, 2013 at 11:18 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote

Re: [sympy] symbolic eigenvalues

2013-10-08 Thread Christophe Bal
Symbolic calculs is not human one... Your question is quiet interesting to see how the Sympy experts could help you. Le 8 oct. 2013 19:39, Taylan Şengül taylansen...@gmail.com a écrit : Hi all, I am quite new to sympy. When I type the following a = symbols('a') m = Matrix( [ [a, 0], [0,

[sympy] How vars x, y, ... are built ?

2013-10-27 Thread Christophe Bal
Hello, sorry for this little out of scope question. What is used internally so as to build x with vars('x') ? 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

Re: [sympy] How vars x, y, ... are built ?

2013-10-28 Thread Christophe Bal
Thanks for this totally in the scope of my question... ;-) 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 sympy+unsubscr...@googlegroups.com. To post to

[sympy] Integer - Conversion to another base

2013-11-01 Thread Christophe Bal
Hello, is there a function in Sympy to convert an integer given in some B-base writing to another b-base writing ? 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

Re: [sympy] Integer - Conversion to another base

2013-11-04 Thread Christophe Bal
, called digits. See also http://stackoverflow.com/a/2267446/161801. Aaron Meurer On Fri, Nov 1, 2013 at 2:06 PM, Christophe Bal projet...@gmail.com wrote: Hello, is there a function in Sympy to convert an integer given in some B-base writing to another b-base writing ? Christophe

Re: [sympy] Re: List of the factors of a polynom

2013-11-05 Thread Christophe Bal
Thanks, you should add this in the documentation. I've not seen it anywhere. 2013/11/5 Aaron Meurer asmeu...@gmail.com Use the factor_list function. Aaron Meurer On Tue, Nov 5, 2013 at 12:19 PM, Christophe Bal projet...@gmail.com wrote: I could achieve this playing with factor().args

[sympy] Treeview of a sympy object

2013-11-09 Thread Christophe Bal
been used ?... 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

[sympy] Step by step - A first step

2013-11-09 Thread Christophe Bal
Hello, for pefagogic -- 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.

[sympy] Step by step - A first step...

2013-11-09 Thread Christophe Bal
Hello, for pédagogical reasons, I would like to show human like calculations on real numbers first. Which advices would you give for such a project ? C -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop receiving

Re: [sympy] Step by step - A first step...

2013-11-10 Thread Christophe Bal
Great, I wanted just to ask if I can have the formula as it was typed just before any evaluation. So my idea will be to walk in the initial formula so as to do the calculation needed more or less directly. Thanks for all. Christophe BAL 2013/11/9 Aaron Meurer asmeu...@gmail.com sympify

Re: [sympy] Step by step - A first step...

2013-11-10 Thread Christophe Bal
So I need to play with github or not ? 2013/11/11 Aaron Meurer asmeu...@gmail.com Only the development version. The branch was only merged about a week ago. Aaron Meurer On Sun, Nov 10, 2013 at 3:45 PM, Christophe Bal projet...@gmail.com wrote: Hello, which version has this ? Best

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(* *

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] 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] 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] 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

[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] 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

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: 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: 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

[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: 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

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] 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] 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] 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] [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

  1   2   >