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
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
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
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
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
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
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
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
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
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
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
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
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:
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.
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,
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
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
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
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
19 matches
Mail list logo