[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-05 Thread ma...@mendelu.cz
On 5 říj, 23:14, calcp...@aol.com wrote: > Wow, this sounds like a big bug.  I will be using Sage quite a bit in a > Calculus I and II lab in the Spring.  Is this going to be huge problem? Do not think that this will be huge problem. You cal allwayas use Maxima instead Sage. In notebook you can

[sage-support] Re: Cython and SciPy special functions

2009-10-05 Thread mark mcclure
On Oct 5, 8:40 pm, Robert Bradshaw wrote: > Try replacing the airy function with both math.sqrt, and math.h's   > sqrt, and see what the timings are, which for benchmarking purposes   > should give you a good idea if it's really the airy function. > > If it is, I doubt we're going to be writing a

[sage-support] Re: Extremely Verbose in notebook()?

2009-10-05 Thread frizico
William ! Thank you so much for getting back so quick, and thanks for the work you are doing on this project! Sage is a wonderful wonderful tool... I will definitely hold out. Thanks again! ~T On Oct 5, 6:30 pm, William Stein wrote: > On Mon, Oct 5, 2009 at 4:22 PM, frizico wrote: > > > HI .

[sage-support] Re: Sage operations on a matrix containing constant vars fail

2009-10-05 Thread kcrisman
Unfortunately, a lot of stuff with symbolic matrices is now broken after our switch to using Pynac/Ginac for symbolics. We only just uncovered a lot of it. In fact, we're not even sure what's all broken! See http://trac.sagemath.org/sage_trac/ticket/6934 for (a little) more information. But

[sage-support] Re: Cython and SciPy special functions

2009-10-05 Thread Robert Bradshaw
On Oct 5, 2009, at 1:26 PM, mark mcclure wrote: > > On Oct 5, 1:19 pm, Robert Bradshaw > wrote: >> >> you might want to call these functions in SciPy directly as C >> functions. (You'd have to look up the SciPy headers to see what to >> call them.) > > That was my first thought, in fact. I'm no

[sage-support] Re: Sage operations on a matrix containing constant vars fail

2009-10-05 Thread Paul
\left(\begin{array}{} -e^{-\frac{1}{2} \, a k} & 0 & \sin\left(-\frac{1}{2} \, a l\right) & \cos\left(-\frac{1}{2} \, a l\right) \\ 0 & e^{-\frac{1}{2} \, a k} & -\sin\left(\frac{1}{2} \, a l\right) & - \cos\left(\frac{1}{2} \, a l\right) \\ -k e^{-\frac{1}{2} \, a k} & 0 & l \cos\left(-\frac{

[sage-support] Re: Sage operations on a matrix containing constant vars fail

2009-10-05 Thread William Stein
On Mon, Oct 5, 2009 at 4:28 PM, Paul wrote: > > I'm trying to run sage matrix operations (ex, solve, eigenvalues, > eigenvectors) on a matrix constant constants variables (variables I've > defined that do not yet have a numeric value), but the ops seem to > either fail, or produce an unreadable a

[sage-support] Re: Extremely Verbose in notebook()?

2009-10-05 Thread William Stein
On Mon, Oct 5, 2009 at 4:22 PM, frizico wrote: > > HI ... I'm scratching my head on this one - anyone know why I'm > getting this in notebook()? Basically the symbolic expressions are > resolved okay, but when it comes time to plot a previously defined > expression, I'm getting this: > > plot(y)

[sage-support] Sage operations on a matrix containing constant vars fail

2009-10-05 Thread Paul
I'm trying to run sage matrix operations (ex, solve, eigenvalues, eigenvectors) on a matrix constant constants variables (variables I've defined that do not yet have a numeric value), but the ops seem to either fail, or produce an unreadable amount of latex that jsmath fails to parse, and I'm pret

[sage-support] Extremely Verbose in notebook()?

2009-10-05 Thread frizico
HI ... I'm scratching my head on this one - anyone know why I'm getting this in notebook()? Basically the symbolic expressions are resolved okay, but when it comes time to plot a previously defined expression, I'm getting this: plot(y) execfile("/home/smalls/.sage/sage_notebook/worksheets/admin

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-05 Thread calcpage
Wow, this sounds like a big bug. I will be using Sage quite a bit in a Calculus I and II lab in the Spring. Is this going to be huge problem? HTH, A. Jorge Garcia http://calcpage.tripod.com Teacher & Professor Applied Mathematics, Physics & Computer Science Baldwin Senior High School & Nassau

[sage-support] Re: Cython and SciPy special functions

2009-10-05 Thread mark mcclure
On Oct 5, 1:19 pm, Robert Bradshaw wrote: > > you might want to call these functions in SciPy directly as C   > functions. (You'd have to look up the SciPy headers to see what to   > call them.) That was my first thought, in fact. I'm not certain, but it appears that SciPy is ultimately calling

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-05 Thread ma...@mendelu.cz
I have one solution :) very very poor (really very poor) solution and from this reason I will not supply the patch yet. The method is to call ode2 again, now together with ic2 in one new call of Maxima. The (fixed) file is desolvers.py is at http://user.mendelu.cz/marik/temp/desolvers.py The

[sage-support] Re: A question regarding sage notebook

2009-10-05 Thread Kim, In-Jae
Thank you, Mike. From: sage-support@googlegroups.com [sage-supp...@googlegroups.com] On Behalf Of Mike Hansen [mhan...@gmail.com] Sent: Monday, October 05, 2009 2:25 PM To: sage-support@googlegroups.com Subject: [sage-support] Re: A question regarding sag

[sage-support] Re: A question regarding sage notebook

2009-10-05 Thread Mike Hansen
Hello In-Jae, On Tue, Oct 6, 2009 at 2:16 AM, Kim, In-Jae wrote: > > Hello, > > In Sage notebook, under the tilte, there are File, Action, Data, sage. > If I scroll down "sage", I can see "gap", "gp", "jsmath" etc. > I never used this option, but I would like to know what this "sage" is for. > T

[sage-support] A question regarding sage notebook

2009-10-05 Thread Kim, In-Jae
Hello, In Sage notebook, under the tilte, there are File, Action, Data, sage. If I scroll down "sage", I can see "gap", "gp", "jsmath" etc. I never used this option, but I would like to know what this "sage" is for. Thank you. In-Jae --~--~-~--~~~---~--~~ To post

[sage-support] Re: Cython and SciPy special functions

2009-10-05 Thread Robert Bradshaw
On Oct 4, 2009, at 10:07 AM, mark mcclure wrote: > I'm investigating the complex dynamics of Airy functions with > Python and I wonder if I can speed up the process significantly > with Cython. I've successfully sped up the code by about 50% > but I might expect much greater speed improvement.

[sage-support] Re: Document production using Sage?

2009-10-05 Thread Paul
That's perfect! Thanks a lot! -Paul On Oct 5, 10:19 am, William Stein wrote: > On Mon, Oct 5, 2009 at 7:13 AM, Paul wrote: > > > Thanks, that's exactly what I want for text entry. Is it possible to > > do the same for input? IE, display equations and plots without the > > associated code? > >

[sage-support] Re: Sage fails to compile on CentOS 4.7

2009-10-05 Thread Tru Huynh
On Sun, Oct 04, 2009 at 09:19:56PM -0700, Jeff Post wrote: > > Each time I upgraded the compiler I did a "make distclean", reran configure > and make for sage. why don't you use the gcc4 provided? gcc -> gcc4 g++ -> g++4 ... [tru ~]$ sudo yum list gcc4\* Setting up repositories base

[sage-support] Re: Document production using Sage?

2009-10-05 Thread William Stein
On Mon, Oct 5, 2009 at 7:13 AM, Paul wrote: > > Thanks, that's exactly what I want for text entry. Is it possible to > do the same for input? IE, display equations and plots without the > associated code? > You can put %hide as the first line of an input cell and this mostly hides the input unti

[sage-support] Re: Document production using Sage?

2009-10-05 Thread Mike Hansen
On Mon, Oct 5, 2009 at 9:13 PM, Paul wrote: > > Thanks, that's exactly what I want for text entry. Is it possible to > do the same for input? IE, display equations and plots without the > associated code? You can get something close to that by putting %hidden at the top of the input cell. --Mik

[sage-support] Re: Document production using Sage?

2009-10-05 Thread Paul
Thanks, that's exactly what I want for text entry. Is it possible to do the same for input? IE, display equations and plots without the associated code? On Oct 5, 1:55 am, Mike Hansen wrote: > Hi Paul, > > On Mon, Oct 5, 2009 at 11:06 AM, Paul wrote: > > > I saw a reference in one of the tutori

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-05 Thread kcrisman
On Oct 5, 3:08 am, "ma...@mendelu.cz" wrote: > On 4 říj, 14:57, Marshall Hampton wrote: > > > For the first time dealing with some of these things the IRC channel > > sage-devel is very helpful.  It would be great if you could do this. > > I am happy to review it, you can put me as a CC: or re

[sage-support] Re: How cleanly kill Sage notebook on command line?

2009-10-05 Thread Kwankyu
Hi, I am personally using a python script to start and stop Sage server. It uses screen command and is based on the idea William gave below. Here is the script: http://dl.getdropbox.com/u/1465360/sage-server The script reads in the configuration file ".sage/sage-server.conf". A sample file is h

[sage-support] Re: Wich directories must be in LD_LIBRARY_PATH ?

2009-10-05 Thread Thierry Dumont
William Stein a écrit : > On Mon, Sep 28, 2009 at 5:53 AM, Thierry Dumont > wrote: >> Trying to solve my problem: >> >> " >> THERE WAS AN ERROR LOADING THE SAGE LIBRARIES. Try starting Sage from >> the command line to see what the error is >> " >> > > Make it so when the remote (worksheet) user

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-05 Thread ma...@mendelu.cz
On 4 říj, 14:57, Marshall Hampton wrote: > For the first time dealing with some of these things the IRC channel > sage-devel is very helpful. It would be great if you could do this. > I am happy to review it, you can put me as a CC: or reviewer. I think > your solution sounds good. > > -Marsh