[sympy] Re: [IPython-User] switching between display representations in the frontend

2013-03-03 Thread Thomas Hisch
Hi, On Sun, Mar 3, 2013 at 12:11 PM, Matthias BUSSONNIER wrote: > Hi, > Le 3 mars 2013 à 08:41, Thomas Hisch a écrit : > >> Hello, >> >> the sympy printing extension configures formatters for rendering latex >> expressions: image/png and text/latex. According to

[sympy] Re: [IPython-User] switching between display representations in the frontend

2013-03-03 Thread Thomas Hisch
On Sun, Mar 3, 2013 at 2:46 PM, Matthias BUSSONNIER wrote: > > Le 3 mars 2013 à 14:26, Thomas Hisch a écrit : > >> Hi, >> >> On Sun, Mar 3, 2013 at 12:11 PM, Matthias BUSSONNIER >> wrote: >>> Hi, >>> Le 3 mars 2013 à 08:41, Thomas Hisch a é

Re: [sympy] GA_rewrite

2013-03-30 Thread thomas hisch
On Saturday, March 30, 2013 3:58:19 PM UTC+1, brombo wrote: > > On 03/28/2013 06:18 PM, Aaron Meurer wrote: > > But those test failures do not occur in master, so they are caused by > > some change of yours. I think you've somehow globally messed up the > > printers. > > > > You've also stil

Re: [sympy] GA_rewrite

2013-03-31 Thread Thomas Hisch
during the rebase process, git tells you what you need to type once you have resolved the conflict. On Sun, Mar 31, 2013 at 1:33 PM, Alan Bromborsky wrote: > On 03/30/2013 03:21 PM, thomas hisch wrote: > > > > On Saturday, March 30, 2013 3:58:19 PM UTC+1, brombo wrote: >> &

Re: [sympy] GA_rewrite

2013-03-31 Thread Thomas Hisch
You need to force a push with git push -f github GA_rewrite On Sun, Mar 31, 2013 at 3:13 PM, Alan Bromborsky wrote: > On 03/31/2013 07:46 AM, Thomas Hisch wrote: > >> git rebase origin/master >> > I did - > > git fetch origin > git rebase origin/master > >

[sympy] ./bin/doctest examples/advanced/fem.py

2013-04-03 Thread thomas hisch
examples/advanced/fem.py imports the integrate method. Therefore, the above command doctests the imported integrate method (sympy/integrals/integrals.py). Is this really intended ? regards thomas -- You received this message because you are subscribed to the Google Groups "sympy" group. To un

Re: [sympy] ./bin/doctest examples/advanced/fem.py

2013-04-03 Thread thomas hisch
On Wednesday, April 3, 2013 11:07:59 PM UTC+2, Stefan Krastanov wrote: > > I may be wrong, but I think the main reason to test docstrings and > especially the examples folder is to ensure that the documentation is > correct and up to date. > This makes sense, but in the case of fem.py, which

Re: [sympy] ./bin/doctest examples/advanced/fem.py

2013-04-03 Thread thomas hisch
On Wednesday, April 3, 2013 11:28:11 PM UTC+2, thomas hisch wrote: > > > On Wednesday, April 3, 2013 11:07:59 PM UTC+2, Stefan Krastanov wrote: >> >> I may be wrong, but I think the main reason to test docstrings and >> especially the examples folder is to ensur

Re: [sympy] ./bin/doctest examples/advanced/fem.py

2013-04-03 Thread Thomas Hisch
Commenting out the following lines in runtests.py solves my problem (BTW all doctests still pass) pat = r'\s*(def|class)\s+%s\s*\(' % rawname PAT = pre.compile(pat) in_module = any(PAT.match(line) for line in source_lines) regards thomas On Wed, Apr 3, 2013 at 11:34 PM, thomas hi

Re: [sympy] ./bin/doctest examples/advanced/fem.py

2013-04-03 Thread Thomas Hisch
available on py2.5? > > Aaron Meurer > > On Wed, Apr 3, 2013 at 4:40 PM, Thomas Hisch wrote: > > Commenting out the following lines in runtests.py solves my problem > > (BTW all doctests still pass) > > > > > > pat = r'\s*(def|class)\s+%s\s*\('

Re: [sympy] ./bin/doctest examples/advanced/fem.py

2013-04-04 Thread Thomas Hisch
; > Aaron Meurer > > On Wed, Apr 3, 2013 at 5:34 PM, Thomas Hisch wrote: >> >> On Apr 4, 2013 1:08 AM, "Aaron Meurer" wrote: >>> >>> Yeah, this is a bug, apparently due to poor parsing of the files. The >>> perfect way would be to parse

[sympy] Re: Status of GA_rewrite

2013-04-06 Thread thomas hisch
Could you run only the doctests - you have to set the testcommand in your bot config file to bin/doctest -v On Saturday, April 6, 2013 3:41:46 PM UTC+2, brombo wrote: > > On my system if I blacklist the examples that use pdflatex the sympy-bot > tests are passed. If I don't blacklist the exam

[sympy] Re: Status of GA_rewrite

2013-04-06 Thread thomas hisch
BTW, remove the print statements from test_test.py as they produce an irritating test output: sympy/ga/tests/test_test.py[10] ..f .f ... [OK] On Saturday, April 6, 2013 4:23:08 PM UTC+2, thomas hisch wrote: > > Could you run only the doctests - you h

Re: [sympy] Re: Status of GA_rewrite

2013-04-06 Thread Thomas Hisch
On Sat, Apr 6, 2013 at 4:53 PM, Alan Bromborsky wrote: > I did what you suggested (also removed prints from my tests) and sympy-bot > fails, but there are no errors in test report. Thats strange. Note that the finished line is missing from the output: === tests finished:

Re: [sympy] Re: Status of GA_rewrite

2013-04-06 Thread thomas hisch
On Saturday, April 6, 2013 5:13:38 PM UTC+2, brombo wrote: > > On 04/06/2013 11:11 AM, Thomas Hisch wrote: > > On Sat, Apr 6, 2013 at 4:53 PM, Alan Bromborsky > > > > wrote: > >> I did what you suggested (also removed prints from my tests) and > sym

Re: [sympy] Re: Status of GA_rewrite

2013-04-06 Thread Thomas Hisch
On Sat, Apr 6, 2013 at 6:00 PM, Alan Bromborsky wrote: > On 04/06/2013 11:21 AM, thomas hisch wrote: > > > > On Saturday, April 6, 2013 5:13:38 PM UTC+2, brombo wrote: >> >> On 04/06/2013 11:11 AM, Thomas Hisch wrote: >> > On Sat, Apr 6, 2013 at 4:53 PM, Alan

Re: [sympy] Re: Status of GA_rewrite

2013-04-06 Thread Thomas Hisch
Let's continue this discussion on IRC please On Sat, Apr 6, 2013 at 6:40 PM, Alan Bromborsky wrote: > On 04/06/2013 12:26 PM, Thomas Hisch wrote: >> >> On Sat, Apr 6, 2013 at 6:00 PM, Alan Bromborsky >> wrote: >>> >>> On 04/06/2013 11:21 AM, tho

Re: [sympy] ./bin/doctest examples/advanced/fem.py

2013-04-06 Thread Thomas Hisch
rom decorated functions. If > all the decorators use @wraps, does this problem not happen? > > Aaron Meurer > > On Thu, Apr 4, 2013 at 5:08 AM, Thomas Hisch wrote: >> For the following functions/modules the regex in >> >> if not in_module: >>

[sympy] Re: Python sympy question on creating list of functions

2013-04-17 Thread thomas hisch
Maybe you want to use nested lambdas: map(lambda c: lambda f: Diff(f,c), coords) On Wednesday, April 17, 2013 10:11:14 PM UTC+2, brombo wrote: > > Consider the following > > coords = symbols('x,y,z') > > I wish to contruct the list of functions: > > [Dx,Dy,Dx] > > where > > def Dx(f): >

[sympy] vector calculus (cylindrical/spherical coordinates)

2014-08-12 Thread thomas hisch
Currently I do a lot of vector calculus with cartesian, cylindrical und spherical coordinate systems. It would be nice if sympy could help me with calculating curls,divergences and gradients of vectors/vectorfields especially in cylindrical and spherical coordinates. I've already tested the car

Re: [sympy] vector calculus (cylindrical/spherical coordinates)

2014-08-12 Thread Thomas Hisch
Great thx! On Tue, Aug 12, 2014 at 10:07 PM, Alan Bromborsky wrote: > On 08/12/2014 03:38 PM, thomas hisch wrote: > > Currently I do a lot of vector calculus with cartesian, cylindrical und > spherical coordinate systems. It would be nice if sympy could help me with > ca

Re: [sympy] vector calculus (cylindrical/spherical coordinates)

2014-08-12 Thread Thomas Hisch
Alan, how did you create this pdf ? ipython nbconvert ? On Tue, Aug 12, 2014 at 10:20 PM, Alan Bromborsky wrote: > Attached is the correct example. I forgot to normalize the basis for > the spherical case. > > > On 08/12/2014 04:09 PM, Thomas Hisch wrote: > > Great thx!

Re: [sympy] collecting common factors in a matrix

2015-11-29 Thread Thomas Hisch
Take a look at https://github.com/sympy/sympy/pull/7318. I remember that this PR didn't work for all matrices (I guess matices including expressions with sqrt(2)). If we find a better way to determine the common factor, I'll update the PR. On Saturday, November 28, 2015 at 8:08:52 PM UTC+1, Ric