Re: [sympy] suppressed evaluation for Add and Mul

2017-08-24 Thread christophe
05:01 AM UTC+2, chris...@kwyk.fr >> wrote: >>> >>> Hum, tests are currently running on my computer and some to fail. >>> >>> Some only need updates, like sympy/core/tests/test_evaluate.py which >>> explicitly refer to evaluate = False current b

Re: [sympy] suppressed evaluation for Add and Mul

2017-08-23 Thread christophe
valuate = False current behavior. Some other tests > seem to fail without apparent reasons. I will investigate this before doing > a PR. > > Thank you for your reply, > Christophe Gabard > > On Wednesday, August 23, 2017 at 10:48:47 AM UTC+2, Aaron Meurer wrote: >> >> Are

Re: [sympy] suppressed evaluation for Add and Mul

2017-08-23 Thread christophe
. Thank you for your reply, Christophe Gabard On Wednesday, August 23, 2017 at 10:48:47 AM UTC+2, Aaron Meurer wrote: > > Are there any other tests that fail if you make the change? > > I would look into the git history to see what changes added those tests if > they made any justifica

[sympy] suppressed evaluation for Add and Mul

2017-08-23 Thread christophe
ob/master/sympy/core/operations.py#L31 after the if on line 33. I prefer to ask the question here before because the presence of the tests can make believe that this behavior is voluntary. Christophe Gabard -- You received this message because you are subscribed to the Google Groups "sympy&qu

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

2017-06-14 Thread Christophe BAL (via GMAIL)
eb visit 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&utm_source=footer>. For more options, visit https://groups.google

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

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 : > I don't understand why

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 showing a Mathematical e

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

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

2016-01-01 Thread Christophe Bal
e 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:46:19 AM UTC-5,

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) * (s+p2)). > > The resul

Re: [sympy] @ for composition

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

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

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

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" 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, integer-valued

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

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 : > Hi all, &g

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

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 : > > > On Wednesday, April 1, 2015 at 11:35:40 PM UTC+2, C

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

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" a écrit : > > Hi, > > I found another error limit : > If x = symbols('x', positive=True),

Re: [sympy] How to check if two terms are equal but not identical

2015-02-10 Thread Christophe Bal
Hello. Have you tried to simplify exp_1 - exp_2 to see if it 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* 2015-02-10 9:20 GMT+01:00 Peter : >

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 :

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 : > Hi, > I want to know about the "summation" function used in

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

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" 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 save a symp

Re: [sympy] Re: Looking for wrong results

2014-10-31 Thread Christophe Bal
aining 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"

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

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 : > On Fri, Oct 31, 2014 at 6:37 AM, Christophe Bal > wrote: > > Thanks for the answers. > > > > Maybe integration will be a good candidate.

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:

Re: [sympy] Re: Looking for wrong results

2014-10-31 Thread Christophe Bal
software works (like floating point precision loss). Christophe BAL 2014-10-31 0:04 GMT+01:00 Richard Fateman : > > > On Wednesday, October 29, 2014 3:38:47 AM UTC-7, Christophe Bal wrote: >> >> Hello. >> >> I'm writing a french book about SageMathClou

Re: [sympy] Looking for wrong results

2014-10-29 Thread Christophe Bal
rithmetic 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 wrote: > > Hello. > > > > I'm writing a french

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

[sympy] Looking for wrong results

2014-10-29 Thread Christophe Bal
#x27;ve already 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+unsubsc

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 : > 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 always possible, o

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 : > > > 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. &g

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 : > > > On Thursday, October 2, 2014 11:11:14 AM UTC-7, Christophe Bal wrote: >> >> And what about the following code ? >> >> The user

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

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

2014-10-02 Thread Christophe Bal
the same memory location. > > > > RJF > > > 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(

Re: [sympy] isympy -i in IPython

2014-10-02 Thread Christophe Bal
True) >> >> >> Jason >> moorepants.info >> +01 530-601-9791 >> >> On Thu, Oct 2, 2014 at 8:56 AM, Christophe Bal >> wrote: >> >>> Hello, >>> is there a way to have the features given by isympy -i in IPython ? >>> >&

[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

[sympy] isympy -i in IPython

2014-10-02 Thread Christophe Bal
Hello, is there a way to have the features given by isympy -i in IPython ? Christoohe 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...@googlegro

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

2014-09-25 Thread Christophe Bal
n), {f(0): 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 > wrote: > > Hello. > > > > Is it possible to ask to Sympy to give for

[sympy] Fwd: Formula for simple recursive sequences

2014-09-25 Thread Christophe Bal
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 po

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 : > SymPy can make use of

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 : > I think that ma

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 : > 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 > like so: > c2 = Symb

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 : > Hello, > > I am looking for the simplest SymPy alternative to this: > > >>> import itertools > >>> for p in itertools.permutations([1, 2, 4]): > ... print(p) &

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 r

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. : > 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. > To unsubscrib

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

2014-06-06 Thread Christophe Bal
gt; 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 interes

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 : > The unflatten_mul function factorized the 2, but not the g, i.e. it returns > > 2(g*|psi

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

[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 : > Hello. > > The folowing code gives a wrong output i

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

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

2014-04-05 Thread Christophe Bal
" question. ;-) Christophe 2014-04-05 9:23 GMT+02:00 F. B. : > > On Thursday, April 3, 2014 5:04:36 PM UTC+2, Aaron Meurer wrote: >> >> Some people on this list might be interested in this https://github.com/ >> ContinuumIO/pyalge. >> > > > Indeed, that can be v

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

2014-03-29 Thread Christophe Bal
Joachim Durchholz : > Am 29.03.2014 14:38, 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 incu

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

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 : > You can prove that any valid IEEE

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

2014-03-22 Thread Christophe Bal
>>> Mathematically, all floats are rational numbers. >>> They can be written as * 2 ^. That is not true. Why ? Because of the arithmetic operations. See the preceding mail for an example. Mathematically, there is not set of floats. The floats are a lot more complex, that is not a bad play on wo

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 : > Can you think of a fact in the assumption

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

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

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 sympy+

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

2014-03-18 Thread Christophe Bal
>>> With three.js we always have an option to fall back >>> to html canvas which every browser support ( specially IE7 ). I didn't know that. The problem that you will met with three.js is the suport of formulas. 2014-03-18 10:52 GMT+01:00 SAHIL SHEKHAWAT : > Th

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

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 : > 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 in > the S

Re: [sympy] dmg for Mac ?

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

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 : > 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 (Karr + mode

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] /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packag

Re: [sympy] dmg for Mac ?

2014-03-10 Thread Christophe Bal
2014-03-10 20:07 GMT+01:00 Matthew Brett : > Hi, > > On Mon, Mar 10, 2014 at 11:59 AM, Aaron Meurer wrote: > > Can you point to this discussion? > > > > Aaron Meurer > > > > On Mon, Mar 10, 2014 at 4:31 AM, Christophe Bal > wrote: > >> Hello.

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

2014-03-10 Thread Christophe Bal
uot;/" as elementwise-division."*. Indeed, I just talk about +, - 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

Re: [sympy] I want to implement Karr algorithm

2014-03-10 Thread Christophe Bal
Hi Comer. Thanks a lot for this reference. Christophe 2014-03-10 15:12 GMT+01:00 Comer : > Hi Christophe, > > I found the attached article. There is a reference to another on the same > topic in JACM in 1981 but I did not find that (yet). I am attaching the > 1985 article.

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

2014-03-10 Thread Christophe Bal
which use more and more Python. 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, sen

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

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 : > Hi, > > > I am Pritam. > > I want implement the Karr algorithm for the google summer of code > > 2014 sympy

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

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

2014-03-09 Thread Christophe Bal
ion can use something like ° 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 G

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

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

2014-03-05 Thread Christophe Bal
r scene in any plane rather in the fixed z-plane. The function could use a list of 2D-objects and returns the corresponding new objects build. Christophe, a simple user. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from

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 : > > 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 subscribed to the Google

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. 20

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 : > Hi, > > On 3 March 2014 16:30, Christophe Bal wrote: > > Hello. > > > > Is there an equivalent of FullForm that produces simple treeview of a > > formula ? Here

Re: [sympy] Re: complex numbers

2014-03-04 Thread Christophe Bal
ot; should 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 ? Christop

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

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

2014-02-26 Thread Christophe Bal
ython parser. Christophe BAL Le 26 févr. 2014 01:10, "Aaron Meurer" 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

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" a écrit : > On Tuesday, February 25, 2014 8:31:02 PM UTC+4, Aaron Meurer wrote: >> >> Some people on this list might be inter

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

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" 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 modules for

Re: [sympy] Re: Limit - Bug

2014-02-18 Thread Christophe Bal
Thanks for this reference. Christophe Le 19 févr. 2014 00:39, "someone" 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/th11

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 : > Hello, > The current geometry module supports a 2-d

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 : > 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. > &g

Re: [sympy] Re: Limit - Bug

2014-02-18 Thread Christophe Bal
rter, 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 > wrote: > > Thanks for this. > > > > > > 2014-02-17 19:21 GMT+01:00 Avichal Da

  1   2   3   >