[sympy] regarding function expand()

2012-02-19 Thread prateek papriwal
how does the function expand() works and where is its source code written in the git repositories of sympy . i have cloned the sympy . -- 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 unsub

Re: [sympy] Combining Integer and Float powers

2012-02-20 Thread prateek papriwal
also (a**2)**0.5 and (a)**1 are not the same things .. On Mon, Feb 20, 2012 at 2:35 PM, Chris Smith wrote: > Since such a transformation is not generally valid, it is disallowed (e.g. > if a = -1 then your expression would give 1 while the "simplified" version > would give -1). The transformatio

[sympy] Boolean Algebra

2012-02-22 Thread prateek papriwal
is there boolean algebra module there in sympy ? It can open up a new area of development . -- 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 symp

[sympy] round() function

2012-02-28 Thread prateek papriwal
is there any round() function in sympy? -- 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, vi

[sympy] O notation

2012-02-28 Thread prateek papriwal
what is O notation ? -- 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] O notation

2012-02-28 Thread prateek papriwal
but then what does O(a,b,c) means On Tue, Feb 28, 2012 at 7:30 PM, Ronan Lamy wrote: > Le mardi 28 février 2012 à 19:25 +0530, prateek papriwal a écrit : > > what is O notation ? > > Typing "O?" in isympy: > > Type: WithAssumptions > Base Class: > S

Re: [sympy] O notation

2012-02-28 Thread prateek papriwal
also do we have theta Notation also in Sympy? On Tue, Feb 28, 2012 at 7:33 PM, prateek papriwal wrote: > but then what does O(a,b,c) means > > > > On Tue, Feb 28, 2012 at 7:30 PM, Ronan Lamy wrote: > >> Le mardi 28 février 2012 à 19:25 +0530, prateek papriwal a écrit :

Re: [sympy] O notation

2012-02-28 Thread prateek papriwal
one more thing ;; O(x**2+y,x,y) + O(x+y,x,y) gives O(y+x**2,x,y) why so? On Tue, Feb 28, 2012 at 7:42 PM, prateek papriwal wrote: > also do we have theta Notation also in Sympy? > > > On Tue, Feb 28, 2012 at 7:33 PM, prateek papriwal < > papriwalprat...@gmail.com> wrot

Re: [sympy] O notation

2012-02-29 Thread prateek papriwal
gt; > wrote: > >> On Tue, Feb 28, 2012 at 5:29 PM, Ronan Lamy > wrote: > >>> Le mardi 28 février 2012 à 20:00 +0530, prateek papriwal a écrit : > >>> > >>> O() with multiple symbols is tricky, full of bugs and not very useful. > >>>

Re: [sympy] O notation

2012-02-29 Thread prateek papriwal
@sirgiu ... the O notation in sympy throws no error while taking more than one argument . On Tue, Feb 28, 2012 at 8:44 PM, Sergiu Ivanov wrote: > On Tue, Feb 28, 2012 at 4:03 PM, prateek papriwal > wrote: > > > > but then what does O(a,b,c) means > > Could you please be

Re: [sympy] O notation

2012-02-29 Thread prateek papriwal
@Ronan ... the result i mentioned is shown by sympy On Tue, Feb 28, 2012 at 8:59 PM, Ronan Lamy wrote: > Le mardi 28 février 2012 à 20:00 +0530, prateek papriwal a écrit : > > one more thing ;; > > O(x**2+y,x,y) + O(x+y,x,y) > > gives O(y+x**2,x,y) > > > > why

Re: [sympy] O notation

2012-02-29 Thread prateek papriwal
express y as a function (within finite space) of x. On Thu, Mar 1, 2012 at 10:42 AM, prateek papriwal wrote: > @Ronan ... the result i mentioned is shown by sympy > > On Tue, Feb 28, 2012 at 8:59 PM, Ronan Lamy wrote: > >> Le mardi 28 février 2012 à 20:00 +0530, prateek papriwal

[sympy]

2012-03-01 Thread prateek papriwal
cab i check whether square root of 2 is rational or not ? -- 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. Fo

Re: [sympy]

2012-03-01 Thread prateek papriwal
can i check whether square root 2 is rational or not in sympy? On Thu, Mar 1, 2012 at 6:35 PM, prateek papriwal wrote: > cab i check whether square root of 2 is rational or not ? > > -- > You received this message because you are subscribed to the Google Groups > "sympy&

[sympy]

2012-03-01 Thread prateek papriwal
in sympy >>>sqrt(3).is_rational TRUE this is wrong .. -- 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

Re: [sympy]

2012-03-03 Thread prateek papriwal
n Thu, Mar 1, 2012 at 7:22 AM, Sergiu Ivanov > wrote: > > On Thu, Mar 1, 2012 at 3:52 PM, prateek papriwal > > wrote: > >> in sympy > >> > >>>>>sqrt(3).is_rational > >> TRUE > >> > >> this is wrong .. > > > >

Re: [sympy]

2012-03-03 Thread prateek papriwal
yes u were right i had an old version 6.7 , now i have a new version which gives "NONE" for >>>sqrt(3).is_rational and >>>sqrt(3).is_irrational this need to be corrected On Sat, Mar 3, 2012 at 6:14 PM, Sergiu Ivanov wrote: > On Sat, Mar 3, 2012 at 2:23 PM, prate

Re: [sympy]

2012-03-03 Thread prateek papriwal
012 at 12:17 PM, Sergiu Ivanov > wrote: > > On Sat, Mar 3, 2012 at 6:29 PM, prateek papriwal > > wrote: > >> yes u were right i had an old version 6.7 , now i have a new version > which > >> gives "NONE" for > >> > >>>>>sqrt(3

Re: [sympy]

2012-03-03 Thread prateek papriwal
@aaron ... i have now sympy version 7.1 . which gives none for sqrt(3).is_rational but when i checked the same on sympy live it gave me true . and presently sympy live is not working, if i am not wrong. On Sun, Mar 4, 2012 at 9:39 AM, prateek papriwal wrote: > we can do the following th

Re: [sympy]

2012-03-03 Thread prateek papriwal
441 > ─── > 100 > > In [59]: sqrt(nsimplify(4.41, rational=True)) > Out[59]: > 21 > ── > 10 > > Aaron Meurer > > On Sat, Mar 3, 2012 at 9:09 PM, prateek papriwal > wrote: > > we can do the following thing (talking about square roots) > > > &

Re: [sympy]

2012-03-03 Thread prateek papriwal
also sqrt(4.41).is_rational would be more user friendly term than sqrt(nsimplify(4.41,rational=True)).is_rational On Sun, Mar 4, 2012 at 10:24 AM, prateek papriwal wrote: > so somehow we need to merge nsimplify() method into sqrt() method . > > in that case when we call sqrt(4.41) >

Re: [sympy]

2012-03-04 Thread prateek papriwal
+1 to the commits. also the addition of two positive irrational number is also irrational . On Sun, Mar 4, 2012 at 3:45 PM, Chris Smith wrote: > > This would allow False to be returned for sqrt(3).is_rational (or True >> for >> > is_irrational). >> >> +1 to that. >> >> https://github.com/sympy/

Re: [sympy]

2012-03-04 Thread prateek papriwal
ohh !! my bad ... On Sun, Mar 4, 2012 at 7:14 PM, David Joyner wrote: > On Sun, Mar 4, 2012 at 8:09 AM, prateek papriwal > wrote: > > +1 to the commits. > > > > also the addition of two positive irrational number is also irrational . > > Are you saying that > &g

Re: [sympy]

2012-03-04 Thread prateek papriwal
hey, i admit i was wrong at my statement . On Sun, Mar 4, 2012 at 8:30 PM, Joachim Durchholz wrote: > Am 04.03.2012 14:09, schrieb prateek papriwal: > > also the addition of two positive irrational number is also irrational . >> > > A trivial counterexample: > 2 +/-

Re: [sympy]

2012-03-04 Thread prateek papriwal
@david the recent commits made by smith in the sympy gives True for >>>((2-sqrt(2))+sqrt(2)).is_rational but for >>>(sqrt(3)+sqrt(5)).is_rational it gives none while for >>>(sqrt(2)+sqrt(3)).is_rational False On Sun, Mar 4, 2012 at 8:58 PM, prateek papriwal wro

Re: [sympy]

2012-03-04 Thread prateek papriwal
editing in last mail last line >>>(sqrt(2)+sqrt(2)).is_rational False On Sun, Mar 4, 2012 at 9:12 PM, prateek papriwal wrote: > @david > the recent commits made by smith in the sympy gives True for > >>>((2-sqrt(2))+sqrt(2)).is_rational > > but for > >

Re: [sympy]

2012-03-05 Thread prateek papriwal
agree . sum of irrationals are unknown . nothing can be commented .. On Mon, Mar 5, 2012 at 9:30 AM, Chris Smith wrote: > sums of irrationals are unknown > > >>> (sqrt(2)+sqrt(3)).is_rational > >>> (sqrt(3)+sqrt(5)).is_rational > > 2*irrational is irrational > > >>> (sqrt(3)+sqrt(3))

[sympy] Cylindrical Algebraic Decomposition

2012-03-05 Thread prateek papriwal
I am Prateek Papriwal, a sophomore year undergraduate student persuing Bachelors in Technology in the Indian Institute of Technology Delhi, in the department of Electrical Engineering. I love programming and mathematics . I was told about GSOC 2012 by one of my seniors, who saw passion for coding

Re: [sympy] Re: Help with our GSoC application

2012-03-06 Thread prateek papriwal
GSOC 2007 updated .. please see https://github.com/sympy/sympy/wiki/GSOC-2007 On Tue, Mar 6, 2012 at 2:11 PM, Joachim Durchholz wrote: > Am 06.03.2012 06:02, schrieb Aaron Meurer: > > It would also help if someone could update the formatting of these wiki >> pages: >> >> https://github.com/symp

Re: [sympy] Re: Help with our GSoC application

2012-03-06 Thread prateek papriwal
0. The links to them are on the front page of the wiki with the > other GSoC material. > > Sean > > > On Tue, Mar 6, 2012 at 08:18, prateek papriwal > wrote: > >> GSOC 2007 updated .. please see >> https://github.com/sympy/sympy/wiki/GSOC-2007 >> >

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-06 Thread prateek papriwal
ing into the sympy code base > and looking at fulfilling your patch requirement. > > Aaron Meurer > > On Mon, Mar 5, 2012 at 9:41 AM, prateek papriwal > wrote: > > I am Prateek Papriwal, a sophomore year undergraduate student persuing > > Bachelors in Technology in the Ind

[sympy] sum() function

2012-03-06 Thread prateek papriwal
suppose if i want to know sum() function is located in which python file ? how to know this -- 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 sym

Re: [sympy] Re: Help with our GSoC application

2012-03-06 Thread prateek papriwal
it has been deleted .. check the history https://github.com/sympy/sympy/wiki/_history On Wed, Mar 7, 2012 at 2:22 AM, Joachim Durchholz wrote: > Am 06.03.2012 15:18, schrieb prateek papriwal: > > GSOC 2007 updated .. please see >> https://github.com/sympy/**sympy/wiki/

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-06 Thread prateek papriwal
lling your patch requirement. > > Aaron Meurer > > On Mon, Mar 5, 2012 at 9:41 AM, prateek papriwal > wrote: > > I am Prateek Papriwal, a sophomore year undergraduate student persuing > > Bachelors in Technology in the Indian Institute of Technology Delhi, in > the &g

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-06 Thread prateek papriwal
ok On Wed, Mar 7, 2012 at 11:53 AM, Chris Smith wrote: > > > On Wed, Mar 7, 2012 at 11:46 AM, prateek papriwal < > papriwalprat...@gmail.com> wrote: > >> hey aaron , >> by "fulfiling your patch requirement" you mean making myself comfortable >

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-07 Thread prateek papriwal
https://github.com/sympy/sympy/pull/1108 please see to it ... On Wed, Mar 7, 2012 at 12:11 PM, Chris Smith wrote: > There's a cherry at issue 3131. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sy

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-07 Thread prateek papriwal
https://github.com/sympy/sympy/pull/1110 corrected commit ... Thank you On Wed, Mar 7, 2012 at 6:52 PM, prateek papriwal wrote: > https://github.com/sympy/sympy/pull/1108 please see to it ... > > > On Wed, Mar 7, 2012 at 12:11 PM, Chris Smith wrote: > >> There

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-07 Thread prateek papriwal
hmm ... ok .. added commit to the original pull request ... will close the new pull request .. Thank You On Thu, Mar 8, 2012 at 2:40 AM, Sergiu Ivanov wrote: > On Wed, Mar 7, 2012 at 11:02 PM, prateek papriwal > wrote: > > https://github.com/sympy/sympy/pull/1110 corr

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-08 Thread prateek papriwal
ic set; --->determine the boundary, the closure, or the interior of a given semialgebraic set; an example of solving inequalities(taken from MATHEMATICA) >>>CylindricalDecomposition[2 < (3x2 − 15x + 16)/(x2 − 4x + 3) < 3, {x}] 25 On Thu, Mar 8, 2012 at 3:23 AM, prateek

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-18 Thread prateek papriwal
i would be happy to have a mentor to mentor me on this topic .. On Fri, Mar 9, 2012 at 2:01 AM, prateek papriwal wrote: > Implementation of CAD will help us to decide > > -->decide whether or not a given semialgebraic set is empty, finite, open, > closed, con- > nected, or bou

Re: [sympy] Cylindrical Algebraic Decomposition

2012-03-18 Thread prateek papriwal
link ... http://planning.cs.uiuc.edu/node292.html On Mon, Mar 19, 2012 at 9:14 AM, prateek papriwal wrote: > i would be happy to have a mentor to mentor me on this topic .. > > > On Fri, Mar 9, 2012 at 2:01 AM, prateek papriwal < > papriwalprat...@gmail.com> wrote: >

[sympy] GSOC 2012 Application

2012-03-28 Thread prateek papriwal
https://github.com/sympy/sympy/wiki/GSOC-2012-ApplicationCylindrical-Algebraic-Decompositionthis is the project proposal .. i havent yet completed it ... i need to add the week by week schedule. please guide me for the same and help me with my application . -- You received this message becaus