[sage-support] plotting field lines

2010-07-24 Thread Renato
Hello, with plot_vector_field I can draw the vectors of a given field. However, how can I plot field lines? I.e. the curves that have the vectors show by plot_vector_field as tangents. If there is not a built-in function, any idea on writing one ad-hoc? kind regards, renato -- To post to this

[sage-support] evaluating numerically a function expression

2010-07-24 Thread Renato
Hi, this seems very basic, but I wasn't able to figure it out. Let's say I have a function: sage: f(t) -4*(5*sqrt(2)*cos(1/2*sqrt(2)*sqrt(5)) - 2*sqrt(5)*sin(1/2*sqrt(2)*sqrt(5)))*sin(1/2*sqrt(5)*t)/(sqrt(5)*sin(1/2*sqrt(2)*sqrt(5))^2 + sqrt(5)*cos(1/2*sqrt(2)*sqrt(5))^2) +

[sage-support] interactive 3d plotting in notebook

2010-07-24 Thread rth
Hi, I am aware that there is a lot of information available on the topic however as some of it is few years old, I just wanted to be sure I missed nothing. I wonder what is currently the easiest way to make an interactive 3d plot from numerical data inside sage notebook? Something like plot3d

[sage-support] Re: corrupted notebook

2010-07-24 Thread Daniel Friedan
Sorry for my premature posting. I deleted the posting as soon as I found that reinstalling Sage from scratch brought everything back to normal. The application must have gotten corrupted, not the notebook. Thanks anyway for the advice. Daniel Friedan On Jul 23, 8:11 pm, William Stein

[sage-support] Re: fast_float() trashes worksheet namespace

2010-07-24 Thread Daniel Friedan
Is it ok to try to revive this posting? It would be a great help to me if fast_float() could be gotten to work on large polynomials (60,000 terms). I suppose that fast_float() makes a space-time tradeoff that might be insurmountable. Still, the fact that fast_float(p) kills the worksheet

[sage-support] Re: Using the simple server API

2010-07-24 Thread Shing Hing Man
Hi, Thanks for the patch to fix simple API !I have tested the patch in sage 4.5.1. Shing On Jun 24, 1:29 pm, David Poetzsch-Heffter poetz...@itwm.fraunhofer.de wrote: Hi! I know this thread is a little old but running theSimpleSage ServerAPI is also important for me. I fixed the

[sage-support] Re: Linear Programming Error

2010-07-24 Thread tvn
thanks for the quick response ... On Jul 22, 8:38 pm, Nathann Cohen nathann.co...@gmail.com wrote: This is now patch #9579, which is waiting for review :-) Nathann -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: fast_float() trashes worksheet namespace

2010-07-24 Thread Simon King
Hi Daniel! On 24 Jul., 16:19, Daniel Friedan dfrie...@gmail.com wrote: Is it ok to try to revive this posting? Definitely! I slightly modified your example: First cell: {{{ R.x = QQ[] Nterms = 6 }}} Second cell: {{{ p=0 for k in range(Nterms): p += x^k p in RQ }}} When I evaluate the

[sage-support] Re: fast_float() trashes worksheet namespace

2010-07-24 Thread Jason Grout
On 7/24/10 10:50 AM, Simon King wrote: From that, I would guess that the notebook gives the wrong impression that the evaluation of the for-loop is finished, while in fact the computation is stuck. And I think this is a bug in the notebook. Or it sounds like the computation probably is

[sage-support] Re: interactive 3d plotting in notebook

2010-07-24 Thread Jason Grout
On 7/24/10 5:59 AM, rth wrote: Hi, I am aware that there is a lot of information available on the topic however as some of it is few years old, I just wanted to be sure I missed nothing. I wonder what is currently the easiest way to make an interactive 3d plot from numerical data inside

[sage-support] Re: evaluating numerically a function expression

2010-07-24 Thread Jason Grout
On 7/24/10 4:38 AM, Renato wrote: Hi, this seems very basic, but I wasn't able to figure it out. Let's say I have a function: sage: f(t) -4*(5*sqrt(2)*cos(1/2*sqrt(2)*sqrt(5)) - 2*sqrt(5)*sin(1/2*sqrt(2)*sqrt(5)))*sin(1/2*sqrt(5)*t)/(sqrt(5)*sin(1/2*sqrt(2)*sqrt(5))^2 +

[sage-support] Re: fast_float() trashes worksheet namespace

2010-07-24 Thread Simon King
Hi Jason, On 24 Jul., 19:54, Jason Grout jason-s...@creativetrax.com wrote: Or it sounds like the computation probably is crashing the Sage instance with a MemoryError.  After the crash, when a new Sage instance is started, nothing is defined anymore, of course, so it appears the workspace

[sage-support] decomposition of fractional ideals (converting PARI to SAGE) - revisited

2010-07-24 Thread Chan-Ho
Hi all, This is a sequel of my former question: http://groups.google.com/group/sage-support/browse_thread/thread/ed74c71c01cb9f26/63a88bb12708c275?lnk=gstq=fractional+ideal#63a88bb12708c275 I use SAGE 4.4.alpha0 (with Virtual Machine) and the online SAGE. Note that the former contains PARI/GP