[sage-support] Re: real part incorrectly simplified away

2011-01-31 Thread Jeff
On Feb 1, 12:01 pm, Burcin Erocal wrote: > On Mon, 31 Jan 2011 14:19:51 -0800 (PST) > > Michael Beeson wrote: > > It seems that var('z') makes sage think z is real. > > > simplify(real(z))      returns z  and simplify(imag(z)) returns 0. > > This is #6862 on trac: > > http://trac.sagemath.org/sag

Re: [sage-support] Re: real part incorrectly simplified away

2011-01-31 Thread Burcin Erocal
On Mon, 31 Jan 2011 14:19:51 -0800 (PST) Michael Beeson wrote: > It seems that var('z') makes sage think z is real. > > simplify(real(z)) returns z and simplify(imag(z)) returns 0. This is #6862 on trac: http://trac.sagemath.org/sage_trac/ticket/6862 It's one of the major bugs remaining

Re: [sage-support] Re: Error starting sage after a source build

2011-01-31 Thread Volker Braun
$HOME/.local/bin is not a "standard place" to look for executables. It will only be searched if you put it into the PATH yourself. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For m

[sage-support] Re: real part incorrectly simplified away

2011-01-31 Thread Michael Beeson
It seems that var('z') makes sage think z is real. simplify(real(z)) returns z and simplify(imag(z)) returns 0. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options,

[sage-support] real part incorrectly simplified away

2011-01-31 Thread Michael Beeson
Here are the contents of a sage file. var('z') C = ComplexField() i = C(0,1) X = real(integral(z,z)) print X X = simplify(X) print X Here is the corresponding output 1/2*real_part(z)^2 - 1/2*imag_part(z)^2 1/2*z^2 The first line is already surprising as I expected 1/2 * real_part(z^2). But i

Re: [sage-support] Re: Error starting sage after a source build

2011-01-31 Thread jorges
There seem to be nothing special in ~/.ipython: jscandal@jorges { ~/sw }$ ls /home/jscandal/.ipython/ Crash_report_ipython.txt history ipython_config_pylab.py dbhistory.json ipython_config_pysh.py I have even moved ~/.ipython elsewhere, but sage will load the ipyth

[sage-support] Bug with ending line in question mark in NB

2011-01-31 Thread kcrisman
I think this is known, but I couldn't find the Trac ticket. If you end a line with a question mark in the notebook, even after a # (comment sign), the nb interprets this as a request for documentation, ending with (potentially) amusing/destructive results. is_prime(5) # Is this number prime? unkn

Re: [sage-support] Re: Error starting sage after a source build

2011-01-31 Thread Volker Braun
I mean ~/.ipython/ -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

Re: [sage-support] Re: Error starting sage after a source build

2011-01-31 Thread Volker Braun
There might be something in ~/.ipythonrc that pulls in your own ipython. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/g

[sage-support] Re: Building error on Pari

2011-01-31 Thread Volker Braun
GCC 4.4.1 is broken, and has been fixed a long time ago. Right now we have 4.4.5 and 4.5.2. Do yourself a favor and upgrade. There is a patched PARI spkg on trac that will avoid the compiler error at the cost of decreased performance. Volker -- To post to this group, send email to sage-supp

[sage-support] Building error on Pari

2011-01-31 Thread Edgar Duéñez-Guzmán
Hello,    I downloaded the source version of Sage and I ran into this error while building: gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -O3 -g -I. -I../src/headers -fPIC -o base3.o ../src/basemath/base3.c gcc: Internal error: Killed (program cc1) Please submit a full bug report.

Re: [sage-support] Re: Error starting sage after a source build

2011-01-31 Thread jorges
I did a clean install, removing from my .bashrc two lines defining the PYTHONPATH and the PATH variables, opening a new terminal and making sure there were no traces of those variables in the environment. Sage built ok, but I got the same error upon starting sage. Then it occurred to me that I c

[sage-support] Re: Plotting: axes with ticks but with no labels

2011-01-31 Thread Jeff
On Jan 28, 10:52 pm, "D. S. McNeil" wrote: > On Fri, Jan 28, 2011 at 9:08 PM, Jeff wrote: > > I would like to be able to plot a function, e.g. plot(sin), that has > > axes and ticks on the axes but that does not have labels for the > > ticks. I understand that I might be able to do this using a

[sage-support] Re: Plotting: axes with ticks but with no labels

2011-01-31 Thread Jeff
On Jan 28, 11:20 pm, kcrisman wrote: > On Jan 28, 9:52 am, "D. S. McNeil" wrote: > > > > > On Fri, Jan 28, 2011 at 9:08 PM, Jeff wrote: > > > I would like to be able to plot a function, e.g. plot(sin), that has > > > axes and ticks on the axes but that does not have labels for the > > > ticks.

[sage-support] Re: plot(): no ticks and arrow on axes?

2011-01-31 Thread Jason Grout
On 1/30/11 5:48 PM, Francois Maltey wrote: Renato a écrit : Hello, I can't understand how the ticks option works in plot()... I want to have no ticks or labels on the axis. Also, is it possible to show the arrows on the axis? like this: http://www.homeschoolmath.net/blog/few-complex-numbers.gif

Re: [sage-support] Re: Error starting sage after a source build

2011-01-31 Thread jorges
Well, some bad and good news: The bad: I reinstalled ubuntu (not specifically for sage, as there were other things I've been trying to solve for a long time, but it helped me decide to do it), reinstalled sage, and I get exactly the same error. The good: I think I am closer now to find the caus

[sage-support] Re: Fwd: Integral functions

2011-01-31 Thread Andrea Gobbi
Thanks kcrisman!!! Maybe the choice of the function sin(x)/x was not a good one...i would to extend the derivation for generally integral function (F(x)=int_a^x g(t)dt) where does't exist a primitive of g. I try with some function and my procedure seems to work. Thanks! On 27 Gen, 14:41, kcrisman

[sage-support] Re: sage-64.txt

2011-01-31 Thread myildi
I have received the same problem, but I have the impression that it stopped after having launched Sage in sudo mode once and executing a small program (nothing special, just some stupid computation). Maybe Sage tries to write this information in a place that needs sudo? Otherwise, my sage folder is

Re: [sage-support] plot(): no ticks and arrow on axes?

2011-01-31 Thread Renato Budinich
On Mon, Jan 31, 2011 at 12:48 AM, Francois Maltey wrote: > Renato a écrit : > > Hello, I can't understand how the ticks option works in plot()... I >> want to have no ticks or labels on the axis. >> >> Also, is it possible to show the arrows on the axis? like this: >> http://www.homeschoolmath.n