[sage-support] CartesianProduct

2008-01-24 Thread Simon King
Dear Sage team, how can i compute the n-fold Cartesian product of of a list? My hope was that the following works sage: P=CartesianProduct([1,2], 3) sage: P.list() [[1, 1, 1], [1, 1, 2], [1, 2, 1], [1, 2, 2], [2, 1, 1], [2, 1, 2], [2, 2, 1], [2, 2, 2]] but this is not supported. I

[sage-support] Re: Does sage support solving integer and combinatorial optimization/ model solving of operational research

2008-01-24 Thread harald schilly
as far as i know there is just cvxopt included. there is a project called openopt out there, which combines several solvers using a python interface - and my wish where an inclusion in sage. i think it uses lp_solve for milp problems. h --~--~-~--~~~---~--~~ To

[sage-support] Re: Trying to plot symbolic algebra

2008-01-24 Thread harald schilly
On Jan 23, 11:46 pm, bill.p [EMAIL PROTECTED] wrote: Only trouble is it won't print! that's now a java applet, you need the png file version. try plot3d(..., viewer='tachyon') maybe this works. h --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] sage 2.10 - still problems with getting R work [ticket 1476]

2008-01-24 Thread Andrzej Giniewicz
Hi, http://sagetrac.org/sage_trac/ticket/1476 was closed some time ago as works-for-me, but both problems I was pointing out during 2.8.15 release are still here... I'm still getting http://giniu.ravenlord.ws/result.txt - first is small - in file $SAGE/local/lib/python2.5/site-packages/ rpy.py

[sage-support] Re: CartesianProduct

2008-01-24 Thread David Joyner
Doesn't tuples http://www.sagemath.org/doc/html/ref/module-sage.combinat.combinat.html#l2h-3041 or Tuples http://www.sagemath.org/doc/html/ref/module-sage.combinat.tuple.html#l2h-4417 do what you want? On Jan 24, 2008 5:13 AM, Simon King [EMAIL PROTECTED] wrote: Dear Sage team, how can i

[sage-support] Re: Command-line usage on Mac OS X

2008-01-24 Thread kcrisman
On Jan 23, 9:30 pm, Justin C. Walker [EMAIL PROTECTED] wrote: Hi, all, In 2.10 (on 10.4.11), I notice that readline is behaving badly: If I ^R and search for a string, and find it, and then either use   ^A or E to move to the beginning or end of the found line, I end   up with the cursor

[sage-support] Re: Putting parentheses around -1.

2008-01-24 Thread kcrisman
Thus you have constructed a nice expression for 1: sage: sol[2].subs(a=1).right() (2/(3*sqrt(3)) + 10/27)^(1/3) - 2/(9*(2/(3*sqrt(3)) + 10/27)^(1/3)) + 1/3 Quiz: how to simplify that expression to 1 within SAGE? I've tried simplify, and radical_simplify, but neither succeeds... Paul

[sage-support] Re: graphs(n) behavior under restriction

2008-01-24 Thread kcrisman
All right, extending Robert's patch, I've posted up trac #1908 at: http://sagetrac.org/sage_trac/ticket/1908 This lets you do what you showed above: sage: show([circle((0,0),n) for n in [1..3]]) # three circles (note the extra ] at the end, though). To plot concentric circles, of

[sage-support] Re: sage on disk

2008-01-24 Thread Robert Miller
I have sage running now on my windows-based laptop, but not without some difficulty. Even so, it was faster than my internet download attempts earlier. Here are a few comments. The disk includes a program called 7zip used to unpack the file sage-vmware-2.10.7z. My first attempts to do

[sage-support] Re: sage on disk

2008-01-24 Thread Ted Kosan
William wrote: I finally figured out how to get 7zip to unzip sage-vmware and that produced a folder with jillions files.The instructions in the readme file (included below) say to click on sage.vmx. This file is NOT in the folder. So I clicked on every folder until I finally found the

[sage-support] Re: Putting parentheses around -1.

2008-01-24 Thread William Stein
On Jan 24, 2008 10:03 AM, Carl Witty [EMAIL PROTECTED] wrote: On Jan 23, 11:41 pm, Paul Zimmermann [EMAIL PROTECTED] wrote: Thus you have constructed a nice expression for 1: sage: sol[2].subs(a=1).right() (2/(3*sqrt(3)) + 10/27)^(1/3) - 2/(9*(2/(3*sqrt(3)) + 10/27)^(1/3)) + 1/3

[sage-support] Re: sage on disk

2008-01-24 Thread William Stein
On Jan 24, 2008 10:05 AM, Ted Kosan [EMAIL PROTECTED] wrote: William wrote: I finally figured out how to get 7zip to unzip sage-vmware and that produced a folder with jillions files.The instructions in the readme file (included below) say to click on sage.vmx. This file is

[sage-support] Re: Sage 2.10 released!

2008-01-24 Thread William Stein
On Jan 24, 2008 11:31 AM, Kate [EMAIL PROTECTED] wrote: Michael, Unfortunately your patch for #1898 does not work. (Note that this was tried on 2.10, not 2.10.1.alpha*) I've posted a part 2 to that patch (against 2.10). Please give it a try:

[sage-support] Re: printing long lines from notebook

2008-01-24 Thread William Stein
On Jan 24, 2008 9:33 AM, bill.p [EMAIL PROTECTED] wrote: I have some longish expressions in my notebook. When I try to print them out they get truncated. Truncated or word wrapped? If word wrapped, if you click to the left of the output, it will toggle between show, word wrap off, hide.

[sage-support] Re: printing long lines from notebook

2008-01-24 Thread bill purvis
On Thursday 24 January 2008, William Stein wrote: On Jan 24, 2008 9:33 AM, bill.p [EMAIL PROTECTED] wrote: I have some longish expressions in my notebook. When I try to print them out they get truncated. Truncated or word wrapped? If word wrapped, if you click to the left of the output,

[sage-support] Warnings from JsMath

2008-01-24 Thread bill.p
I find the warning messages that appear at the top of the notebook saying that JsMath isn't available annoying. There's an awful lot of disk space full of the JsMath stuff so it's definitely there. I find it especially annoying when I try to print something - I get a big red box at the top of my

[sage-support] Re: Warnings from JsMath

2008-01-24 Thread BFJ
The control panel is the little tab at the bottom of the browser output which reads jsMath. Just click there and follow the links. I agree about the warning. It might be better as a browser alert, or maybe an embedded popup. On the other hand, this may be part of jsMath and not something which

[sage-support] old SAGE link at MSRI

2008-01-24 Thread David Joyner
Hi: Just curious if there a way to update the SAGE link at http://www.msri.org/about/computing/mathdocs - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-support] Re: Warnings from JsMath

2008-01-24 Thread bill purvis
On Friday 25 January 2008, William Stein wrote: On Jan 24, 2008 8:52 PM, Timothy Clemans [EMAIL PROTECTED] wrote: In the first versions of the Sage Notebook that message was actually hidden. (1) If one wants to disable the font message, comment out (with /* */) line 253 of