[sage-support] Re: sage server problem

2010-03-28 Thread mark mcclure
On Mar 28, 8:32 am, mark mcclure wrote: > Having read the documentation on the > server_pool option, I see that it "specifies that worksheet processes > run as a separate user".  I'm a bit unclear on exactly what that's > supposed to mean but it makes me won

[sage-support] Re: sage server problem

2010-03-28 Thread mark mcclure
On Mar 27, 9:46 pm, gerhard wrote: > The solution for me was to omit the serverpool=[...] argument Thanks Gerhard! It is working now. But... I'm still a bit nervous. Having read the documentation on the server_pool option, I see that it "specifies that worksheet processes run as a separate us

[sage-support] Re: sage server problem

2010-03-27 Thread mark mcclure
I've included below the exact command that I used to start the notebook and the output logging the error. (I haven't bothered with nohup yet.) Although not detectable to the user, the problem seems to arise as soon as the user opens a new worksheet. That's when the line conta

[sage-support] Running sage notebook as a daemon

2009-11-23 Thread mark mcclure
the server as a daemon process so that I can log out while the server still runs. Mark McClure -- 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

[sage-support] Re: Something like Mathematica's `Interact`?

2009-11-22 Thread mark mcclure
n its development. I believe the same is true of Blas. Moler has long been on the directory board of Netlib, which is certainly the largest repository of freely available software for numerical analysis in existence, and a number of other Mathworks employees are involved with Netlib as well. Mark

[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: 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] Cython and SciPy special functions

2009-10-04 Thread mark mcclure
ode, you can view it as a Sage notebook here: http://sagenb.org/home/pub/1013/ Thanks, Mark McClure --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@goo

[sage-support] Re: drawing graphs

2009-06-16 Thread mark mcclure
On Jun 16, 2:36 am, Rado wrote: > > Here, for example, is the Cayley graph of the alternating group A5: > > > A = AlternatingGroup(5) > > G = Graph(A.cayley_graph()) > > s = G.graphviz_string() > > f = open('graphfile.dot', 'w') > > f.write(s) > > f.close() > > Actually for this example graphviz'

[sage-support] Re: drawing graphs

2009-06-15 Thread mark mcclure
, you should get a an interpretable version of quite a complicated graph. Mark McClure --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.c

[sage-support] Re: paste a picture to the notebook worksheet

2009-04-09 Thread mark mcclure
uld be able to use an image stored with your sage worksheets easily enough. Mark McClure --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups

[sage-support] Re: Using html between cells in a notebook

2009-03-18 Thread mark mcclure
cell. This adds a TinyMCE editor window that, when saved, is HTML. You can double click on a section of text to open it up in it's own editor. Mark McClure --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe fro

[sage-support] Re: find_root reports zeroes of denominator as roots

2009-03-16 Thread mark mcclure
lity as Matlab, in this case. What I find particularly puzzling, though, is that scipy.opitimize.brentq, raises an error for this problem, at least when applied to the interval [-1.0, 1.0]. On the other hand, brentq runs without reporting a complaint when applied to the interval [1.0, pi]. See

[sage-support] Re: Why can't do integrate( abs( sin(t^2) ), t, 0, 3) ?

2009-03-11 Thread mark mcclure
> > Mathematica returns the result in terms of Fresnel functions. > > Point taken. However, integrate(abs(sin(t*t)),t,0,3) is > by definition (since sin(x)>0 in that interval) the > Fresnel integral S(3),http://en.wikipedia.org/wiki/Fresnel_integral, > and just renaming it doesn't make it a closed

[sage-support] Re: Why can't do integrate( abs( sin(t^2) ), t, 0, 3) ?

2009-03-11 Thread mark mcclure
e on the integral. I think I saw that on the Maxima discussion group a bit ago. Mark McClure --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googleg

[sage-support] Re: Variable plot limits

2009-03-11 Thread mark mcclure
enerally, x = u, y = (1-v)*g(u) + v*h(u) parameterizes the region between the graphs of the functions g and h. Thus, you could do your example like so: (x,y,u,v) = var('x,y,u,v') f(x,y) = 0.1*x; parametric_plot3d([u,u*v,f(u,u*v)], (u,

[sage-support] Re: Problem installing on Mac OS X 10.5

2009-03-10 Thread mark mcclure
what to open a file with. This depends on your preference settings and I guess it didn't happen in your case. I think there will be a nice clickable Mac App soon. Have fun, Mark McClure --~--~-~--~~~---~--~~ To post to this group, send email t

[sage-support] Re: Unable to run Sage Version 3.2.3 on OS X (10.5 Intel): Runtime Error: Unable to Start Maxima

2009-02-23 Thread mark mcclure
issue?   This looks like the issue I was having and Michael Abshoff fixed it in the latest release, which is 3.3. I don't think that will be released in binary but the source code is available, if you can build it. Supposedly, 3.4 will be out soon. Mark McClure --~--~-~--~~---

[sage-support] Re: calling SAGE from C or Mathematica

2008-05-28 Thread mark mcclure
On May 23, 5:52 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Why don't you do > > child.expect('sage: ') Because, I was too focused on using child.after, instead of child.before, but your suggestion works great; thanks for that. So I incorporated your suggestion and re-worked and expanded my

[sage-support] Re: calling SAGE from C or Mathematica

2008-05-22 Thread mark mcclure
On May 7, 2:41 am, Amir <[EMAIL PROTECTED]> wrote: > Can I start a Sage session from C? I would need to pass commands, set > and get variables, and cleanly terminate the session. I would like to > do this as a mathlink module to call Sage from Mathematica. As a fan of both Sage and Mathematica, I

[sage-support] Re: Plotting x^x

2008-05-21 Thread mark mcclure
On May 21, 1:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Since I know a bit more about how to optimize code in Sage, > I redid your function but using more tricks. The result draws > the above in 0.09 seconds (yep!). And Marshall wrote: > Arg, you beat me to it. I have a solution that

[sage-support] Re: Plotting x^x

2008-05-21 Thread mark mcclure
On May 16, 2:44 am, Dan Pillone <[EMAIL PROTECTED]> wrote: > > Is there a way to plot x^x correctly? A lovely article by Mark Meyerson entitled "The x^x Spindle" appeared in Mathematics Magazine back in June of 96. The article shows how to interpret the graph of x^x in 3-space, using the complex

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread mark mcclure
On May 9, 4:16 pm, Rose <[EMAIL PROTECTED]> wrote: > No I am not sure I need Tuple(). I am trying to draw some polygons on > the complex plane, so I put the coordinates of the vertex (I am not > sure it is the good word) in a Turple(). > Do you think there is a better way to do that? How about so