[sage-devel] SAGE-2.8.15!

2007-12-03 Thread William Stein
Hello folks, Sage 2.8.15 has been released. It is available at http://sagemath.org/download.html The following people contributed this release: - Craig Citro - Dan Drake - David Harvey - Michael Abshoff - Martin Albreecht - Jen Balakrishnan - Robert Bradshaw - Jason Grout -

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
On Dec 3, 2007 5:53 PM, Bill Hart <[EMAIL PROTECTED]> wrote: > > > > On 3 Dec, 17:15, "William Stein" <[EMAIL PROTECTED]> wrote: > > > This is not so good, really. We should be aiming to beat maple/magma, > > which do this factorization in 0.01 seconds or so. Where are our reverse > > engineerin

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Carl Witty
On Dec 3, 10:14 pm, Nils Bruin <[EMAIL PROTECTED]> wrote: > The thing is - It's not just a matter of jar-files. The java3d install > process drops 2 library files in place: >creating: lib/ >creating: lib/i386/ > inflating: lib/i386/libj3dcore-ogl.so > inflating: lib/i386/libj3dcore-ogl

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Robert Bradshaw
On Dec 3, 2007, at 10:36 PM, William Stein wrote: > Just a comment -- I initially thought that getting the java3d embedded > in the browser window was critical and super important. After playing > with making actually plots, I now am not at all convinced of this. > With a popup window it's very

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread Fernando Perez
On Dec 3, 2007 11:32 PM, William Stein <[EMAIL PROTECTED]> wrote: > > Perhaps my remarks weren't clear, or I misunderstood Ted's intent. > > No, I think you understood his intent perfectly. Part of the issue is that > Ted's target audience is utterly completely different than Enthought's. > > T

[sage-devel] Re: interactive widgets in the notebook

2007-12-03 Thread William Stein
On Dec 3, 2007 1:19 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > As for examples of how to use GUI widgets in the client, the 3D Applet > > demo I posted a little bit ago shows some of what I am thinking about. > > Perhaps the user wants a slider for changing the zoom level instead > > of a dra

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread William Stein
On Dec 3, 2007 10:33 PM, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007, at 10:14 PM, Nils Bruin wrote: > > > On Dec 3, 9:55 pm, Robert Bradshaw <[EMAIL PROTECTED]> > > wrote: > > [...] > >> In principle it should be able to download the necessary jars without > >> the user having t

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Robert Bradshaw
On Dec 3, 2007, at 10:14 PM, Nils Bruin wrote: > On Dec 3, 9:55 pm, Robert Bradshaw <[EMAIL PROTECTED]> > wrote: > [...] >> In principle it should be able to download the necessary jars without >> the user having to install anything (beyond Java itself). This is why >> the initial download is so

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread William Stein
On Dec 3, 2007 5:09 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 5:53 PM, William Stein <[EMAIL PROTECTED]> wrote: > > > I view java3d as being for the browser-based interface to Sage. > > And I agree that it's the best way to do obtain in-browser 3d, but I > thought Ted was in

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Nils Bruin
On Dec 3, 9:55 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: [...] > In principle it should be able to download the necessary jars without > the user having to install anything (beyond Java itself). This is why > the initial download is so large. Obviously there are robustness > issues. Also, it

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Robert Bradshaw
I spent a lot of time writing the java3d stuff for Sage this summer, but haven't had a chance to work on it much since then. I am hoping to get back to it a bit this Christmas break (coming up in a week for me). I'm excited to see the sudden interest in this. On Dec 3, 2007, at 9:04 PM, Wil

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread William Stein
On Dec 3, 2007 9:04 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 8:44 PM, Nils Bruin <[EMAIL PROTECTED]> wrote: > > > > OK, I finally found some instructions that looked halfway trustworthy. > > > > https://java3d.dev.java.net/binary-builds.html > > > > has a readme for 1.5.1 th

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread William Stein
On Dec 3, 2007 8:44 PM, Nils Bruin <[EMAIL PROTECTED]> wrote: > > OK, I finally found some instructions that looked halfway trustworthy. > > https://java3d.dev.java.net/binary-builds.html > > has a readme for 1.5.1 that had relatively easy to follow > instructions. These actually worked! I've been

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Nils Bruin
OK, I finally found some instructions that looked halfway trustworthy. https://java3d.dev.java.net/binary-builds.html has a readme for 1.5.1 that had relatively easy to follow instructions. These actually worked! I've been able to view the little "capeman" in a "java applet window" (I guess it d

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread William Stein
On Dec 3, 2007 8:15 PM, Nils Bruin <[EMAIL PROTECTED]> wrote: > > I've looked into Java3D a bit and it seems to need all kinds of scary > fiddling and installing to get working - especially in a browser. > Instructions I found referred to "jre1.2" and "java2". Given that > "jre1.6" seems to be cur

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Nils Bruin
I've looked into Java3D a bit and it seems to need all kinds of scary fiddling and installing to get working - especially in a browser. Instructions I found referred to "jre1.2" and "java2". Given that "jre1.6" seems to be current, I think those instructions might be outdated. Some people here se

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread Stephen Forrest
On Dec 3, 2007 8:53 PM, Bill Hart <[EMAIL PROTECTED]> wrote: > > On 3 Dec, 17:15, "William Stein" <[EMAIL PROTECTED]> wrote: > > > This is not so good, really. We should be aiming to beat maple/magma, > > which do this factorization in 0.01 seconds or so. Where are our reverse > > engineering ex

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread Bill Hart
On 3 Dec, 17:15, "William Stein" <[EMAIL PROTECTED]> wrote: > This is not so good, really. We should be aiming to beat maple/magma, > which do this factorization in 0.01 seconds or so. Where are our reverse > engineering experts? How come Maple is so fast at this? I think we discussed this

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread mabshoff
On Dec 4, 1:24 am, "Pablo De Napoli" <[EMAIL PROTECTED]> wrote: > please consider fixing bug #1282 > > make flint.spkg depend on python > > http://sagetrac.org/sage_trac/ticket/1282 > > which is maked for 2.8.15 milestone > > Pablo > > On Dec 3, 2007 9:16 PM, Jaap Spies <[EMAIL PROTECTED]> wrote

[sage-devel] Re: hg_sage.push() and other minor changes.

2007-12-03 Thread mabshoff
On Dec 2, 4:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > This is now sagetrac Ticket #1371, and an updated (and non-empty!) > bundle is included there. > Thanks Jon, we have been discussing something similar to make the development snapshot available somewhere. Your code can be used

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread mabshoff
On Dec 4, 1:16 am, Jaap Spies <[EMAIL PROTECTED]> wrote: > mabshoff wrote: > > > http://sage.math.washington.edu/home/mabshoff/sage-2.9.15.rc1.tar > > :) > > But on Fedora 8 32 bits: > > -- > The following tests failed: > >

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Jason Grout
William Stein wrote: > On Dec 3, 2007 4:47 PM, William Stein <[EMAIL PROTECTED]> wrote: >>> Is there currently *any* way of getting Java3D to work reliably >>> together with sage on, say Mac G5 systems running OSX and on i386/ >>> amd64 with linux? >>> It doesn't necessarily have to be from the no

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread mabshoff
On Dec 4, 1:24 am, "Pablo De Napoli" <[EMAIL PROTECTED]> wrote: > please consider fixing bug #1282 > > make flint.spkg depend on python > > http://sagetrac.org/sage_trac/ticket/1282 > > which is maked for 2.8.15 milestone > > Pablo That went into 2.8.15 - could you check $SAGE_ROOT/spkg/deps, b

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread Fernando Perez
On Dec 3, 2007 5:53 PM, William Stein <[EMAIL PROTECTED]> wrote: > I view java3d as being for the browser-based interface to Sage. And I agree that it's the best way to do obtain in-browser 3d, but I thought Ted was interested in a local client that is Java-based. That's where I'd say that piggy

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Nils Bruin
On Dec 3, 4:51 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > I think Java3d already works fine on Macs and Linux from , so long as > > you have java installed. I use it "all the time" when I want to do > > 3d visualization. This was something Robert Bradshaw implemented > > last summer (it

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread William Stein
On Dec 3, 2007 4:23 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 5:09 PM, Ted Kosan <[EMAIL PROTECTED]> wrote: > > > In the mean time, this is one reason why I have been working on the > > SAGEIDE alternative to the browser-based notebook. SAGEIDE currently > > has Java3D runn

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread William Stein
On Dec 3, 2007 4:47 PM, William Stein <[EMAIL PROTECTED]> wrote: > > Is there currently *any* way of getting Java3D to work reliably > > together with sage on, say Mac G5 systems running OSX and on i386/ > > amd64 with linux? > > It doesn't necessarily have to be from the notebook, > > although th

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread William Stein
On Dec 3, 2007 4:21 PM, Nils Bruin <[EMAIL PROTECTED]> wrote: > > Concerning interactive 3d vis tools: > > Is there currently *any* way of getting Java3D to work reliably > together with sage on, say Mac G5 systems running OSX and on i386/ > amd64 with linux? > It doesn't necessarily have to be fr

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread Jaap Spies
David Joyner wrote: > On Dec 3, 2007 7:21 PM, Nils Bruin <[EMAIL PROTECTED]> wrote: >> Are there other high quality interactive 3D visualisation tools that >> work nicely with Sage and are so easy to install that you can ask the >> average sysadmin to do it? > > > openmath (a 3d graphics packag

[sage-devel] Re: Java3D usable in any form?

2007-12-03 Thread David Joyner
On Dec 3, 2007 7:21 PM, Nils Bruin <[EMAIL PROTECTED]> wrote: > > Concerning interactive 3d vis tools: > > Is there currently *any* way of getting Java3D to work reliably > together with sage on, say Mac G5 systems running OSX and on i386/ > amd64 with linux? It doesn't necessarily have to be from

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread Pablo De Napoli
please consider fixing bug #1282 make flint.spkg depend on python http://sagetrac.org/sage_trac/ticket/1282 which is maked for 2.8.15 milestone Pablo On Dec 3, 2007 9:16 PM, Jaap Spies <[EMAIL PROTECTED]> wrote: > > mabshoff wrote: > > > > > http://sage.math.washington.edu/home/mabshoff/sage

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread Fernando Perez
On Dec 3, 2007 5:09 PM, Ted Kosan <[EMAIL PROTECTED]> wrote: > In the mean time, this is one reason why I have been working on the > SAGEIDE alternative to the browser-based notebook. SAGEIDE currently > has Java3D running in it with few problems and here is a list of its > other benefits: If y

[sage-devel] Java3D usable in any form?

2007-12-03 Thread Nils Bruin
Concerning interactive 3d vis tools: Is there currently *any* way of getting Java3D to work reliably together with sage on, say Mac G5 systems running OSX and on i386/ amd64 with linux? It doesn't necessarily have to be from the notebook, although that would be preferable. Are instructions for th

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread Jaap Spies
mabshoff wrote: > > http://sage.math.washington.edu/home/mabshoff/sage-2.9.15.rc1.tar > :) But on Fedora 8 32 bits: -- The following tests failed: sage -t devel/sage-main/sage/functions/transcendental.py

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread Ted Kosan
William wrote: > I have to say though, having tried the Java3d based 3d graphics > that Robert Bradshaw wrote for Sage, that's going to be the way to go. > It's incredibly robust and FAST even for huge complicated scenes. I mean, > that library really feels professional / state of the art / like

[sage-devel] Re: citing Sage

2007-12-03 Thread Jason Grout
William Stein wrote: > Yes to every single one of your questions. Thanks. This email is now trac #1389. -Jason > > On Dec 3, 2007 1:29 PM, Jason Grout <[EMAIL PROTECTED]> wrote: >> I'm citing Sage in a paper I'm writing. After searching (using the >> search function at sagemath.org) and cl

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Bill Hart
Then again, if one works in a number field in Magma instead of a quotient ring, it takes about a quarter of the time of SAGE to do the power. That's probably about comparable to what we'd get with a single scaling before and after doing the powering in SAGE. So it looks like when all the appropria

[sage-devel] Re: interactive widgets in the notebook

2007-12-03 Thread Jason Grout
Ted Kosan wrote: > Jason wrote: > >>> I really like the technique of using Jython in the client because its >>> like having a subset of SAGE on the client. Users can easily create >>> GUI widgets with just a few lines of "SAGE" code. Jython can be >>> included in an applet too. >> This is inter

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Bill Hart
Magma also takes 0.12s to do the polynomial expmod a^2 mod f, but when you raise the power to 20 or 200 Magma is not competitive any more. This is quite surprising, since as everyone knows, Magma is usually quite competitive with polynomial arithmetic. Bill. On 3 Dec, 18:26, Bill Har

[sage-devel] Re: citing Sage

2007-12-03 Thread William Stein
Yes to every single one of your questions. On Dec 3, 2007 1:29 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > I'm citing Sage in a paper I'm writing. After searching (using the > search function at sagemath.org) and clicking around lots of places, I > found the page in the tutorial: > > http://s

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Stephen Forrest
On Dec 3, 2007 3:42 PM, William Stein <[EMAIL PROTECTED]> wrote: > That won't work because nobody ever implement _maple_init_ as a method > for Sage matrices. Hmm, I'd be interested in looking into improving this myself. > > In any case, there's nothing syntactically tricky about matrix > > exp

[sage-devel] citing Sage

2007-12-03 Thread Jason Grout
I'm citing Sage in a paper I'm writing. After searching (using the search function at sagemath.org) and clicking around lots of places, I found the page in the tutorial: http://sagemath.org/doc/html/tut/node62.html and the more official instructions at: http://sagemath.org/pub.html A couple

[sage-devel] Re: is_integral_domain crappy output

2007-12-03 Thread William Stein
On Dec 3, 2007 12:49 PM, Robert Miller <[EMAIL PROTECTED]> wrote: > > In sage/rings/quotient_ring.py, we have the following (line 220 in > 2.8.14): > try: > return self.defining_ideal().is_prime() > except NotImplementedError: > return False > > Why the heck

[sage-devel] is_integral_domain crappy output

2007-12-03 Thread Robert Miller
In sage/rings/quotient_ring.py, we have the following (line 220 in 2.8.14): try: return self.defining_ideal().is_prime() except NotImplementedError: return False Why the heck don't we just propagate the NotImplementedError!?! --~--~-~--~~---

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread William Stein
On Dec 3, 2007 12:30 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > This is a misconception. mwrank will disappear as a standalone spkg, > > but it still exists as a standalone binary in cremona-*.spkg, and will > > continue > > to in the future. In fact, currently in sage we build mwrank twice. >

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread William Stein
On Dec 3, 2007 12:30 PM, Stephen Forrest <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 11:16 AM, William Stein <[EMAIL PROTECTED]> wrote: > [snip] > > I want to time maple, but I just spent 10 minutes and couldn't > > even figure out how to raise a matrix to a power! > > I couldn't get the Sage in

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread mabshoff
On Dec 3, 9:14 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 12:10 PM, mabshoff > > <[EMAIL PROTECTED]> wrote: > I forgot to mention that I renamed the tarball so that we won't get any bug reports for 2.9.15.rc1 in the future ;) See http://sage.math.washington.edu/home/mabsho

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Stephen Forrest
On Dec 3, 2007 11:16 AM, William Stein <[EMAIL PROTECTED]> wrote: [snip] > I want to time maple, but I just spent 10 minutes and couldn't > even figure out how to raise a matrix to a power! I couldn't get the Sage interface to Maple to work properly with matrices. When I tried the following in S

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread mabshoff
On Dec 3, 8:44 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 11:39 AM, mabshoff > > > > CoCoA or [Ap]CoCoALib? CoCoA is trivial to do, but it will be binary. > > I was thinking CoCoALib, sorry. > ok. > > ApCoCoALib compiles out of the box on all of the above and more, but I

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread William Stein
On Dec 3, 2007 12:10 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > > ToDo: > > * investigate Justin's mwrank crashes on 10.5 - this might happen > >on teardown of the heap. Since mwrank as a stand alone binary > >will disappear shortly this problem might solve itself ;) This is a misconcep

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread mabshoff
On Dec 3, 9:06 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > Hello folks, > > this is likely to be indentical to 2.8.15 assuming nothing turns up > last minute. We closed 80 tickets this release cycle, see > > http://www.sagetrac.org/sage_trac/query?status=closed&milestone=sage-... > > S

[sage-devel] SAGE-2.8.15.rc1 released!

2007-12-03 Thread mabshoff
Hello folks, this is likely to be indentical to 2.8.15 assuming nothing turns up last minute. We closed 80 tickets this release cycle, see http://www.sagetrac.org/sage_trac/query?status=closed&milestone=sage-2.8.15 Still no ATLAS and I had hoped that we would fix #1324 and #1325, but that didn'

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
On Dec 3, 2007 11:39 AM, mabshoff <[EMAIL PROTECTED]> wrote: > On Dec 3, 8:32 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 11:15 AM, mabshoff > > <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 7:49 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > On Dec 3, 2007 10:08 AM, Joe

[sage-devel] Re: change Python to UCS4?

2007-12-03 Thread Justin C. Walker
On Dec 3, 2007, at 11:30 AM, William Stein wrote: >>> It is the default while building, but all distributions have UCS4! >>> And all software related to it. >> >> That's a very argument for making the switch. >> >> Is anybody against making the switch? You better speak up now. What is the prac

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread mabshoff
On Dec 3, 8:32 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 11:15 AM, mabshoff > > > > <[EMAIL PROTECTED]> wrote: > > On Dec 3, 7:49 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 2007 10:08 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > > On Mon, Dec 03,

[sage-devel] Re: change Python to UCS4?

2007-12-03 Thread mabshoff
On Dec 3, 8:30 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > -- Forwarded message -- > From: Jaap Spies <[EMAIL PROTECTED]> > Date: Dec 3, 2007 11:26 AM > Subject: [sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!] > To: sage-devel@googlegroups.com > > William Stein

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
On Dec 3, 2007 11:15 AM, mabshoff <[EMAIL PROTECTED]> wrote: > On Dec 3, 7:49 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 10:08 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > On Mon, Dec 03, 2007 at 09:19:38AM -0800, mabshoff wrote: > > > > On Dec 3, 6:15 pm, "William St

[sage-devel] change Python to UCS4?

2007-12-03 Thread William Stein
-- Forwarded message -- From: Jaap Spies <[EMAIL PROTECTED]> Date: Dec 3, 2007 11:26 AM Subject: [sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!] To: sage-devel@googlegroups.com William Stein wrote: >> It is the default while building, but all distributions have UC

[sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!]

2007-12-03 Thread Jaap Spies
William Stein wrote: >> It is the default while building, but all distributions have UCS4! >> And all software related to it. > > That's a very argument for making the switch. > > Is anybody against making the switch? You better speak up now. > You maybe better make it a different thread. No

[sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!]

2007-12-03 Thread William Stein
On Dec 3, 2007 11:13 AM, Jaap Spies <[EMAIL PROTECTED]> wrote: > > William Stein wrote: > > >> > >> We have sometime to choose between UCS2 and UCS4! (William?) > > > > Sage just uses the Python default, which is UCS2. There are advantages > > I think, for memory consumption (?!), but disadvantag

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread mabshoff
On Dec 3, 7:49 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 10:08 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > > > > > On Mon, Dec 03, 2007 at 09:19:38AM -0800, mabshoff wrote: > > > On Dec 3, 6:15 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > On Dec 3, 2007 8:

[sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!]

2007-12-03 Thread Jaap Spies
William Stein wrote: >> >> We have sometime to choose between UCS2 and UCS4! (William?) > > Sage just uses the Python default, which is UCS2. There are advantages > I think, for memory consumption (?!), but disadvantages as we see above. > It is the default while building, but all distributio

[sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!]

2007-12-03 Thread William Stein
On Dec 3, 2007 11:02 AM, Jaap Spies <[EMAIL PROTECTED]> wrote: > > Jason Grout wrote: > > Jaap Spies wrote: > >> Ondrej Certik wrote: > Let us for instance install mayavi_2.0.1b1, traits, tvtk, etcetera: > > $ sudo easy_install -f dist -H dist enthought.ma* enthought.t* > > >>>

[sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!]

2007-12-03 Thread Jaap Spies
Jason Grout wrote: > Jaap Spies wrote: >> Ondrej Certik wrote: Let us for instance install mayavi_2.0.1b1, traits, tvtk, etcetera: $ sudo easy_install -f dist -H dist enthought.ma* enthought.t* >>> Nice job Jaap. Thanks for sharing the instructions. >>> >> It's nothing, just fo

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
On Dec 3, 2007 10:08 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > On Mon, Dec 03, 2007 at 09:19:38AM -0800, mabshoff wrote: > > On Dec 3, 6:15 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 2007 8:56 AM, mabshoff > > > <[EMAIL PROTECTED]> wrote: > > > > Cpu time = 0.80, User t

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread William Stein
On Dec 3, 2007 10:26 AM, Bill Hart <[EMAIL PROTECTED]> wrote: > > > > On 3 Dec, 16:16, "William Stein" <[EMAIL PROTECTED]> wrote: > > > By the way, PARI is *not* competitive here: > > > > sage: nn = gp(n) > > sage: gp.eval('gettime; a = %s^2; gettime/1000.0'%nn.name()) > > '0.42800

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Bill Hart
On 3 Dec, 16:16, "William Stein" <[EMAIL PROTECTED]> wrote: > By the way, PARI is *not* competitive here: > > sage: nn = gp(n) > sage: gp.eval('gettime; a = %s^2; gettime/1000.0'%nn.name()) > '0.428000' > sage: gp.eval('gettime; a = %s^20; gettime/1000.0'

[sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!]

2007-12-03 Thread Jason Grout
Jaap Spies wrote: > Ondrej Certik wrote: >>> Let us for instance install mayavi_2.0.1b1, traits, tvtk, etcetera: >>> >>> $ sudo easy_install -f dist -H dist enthought.ma* enthought.t* >>> >> Nice job Jaap. Thanks for sharing the instructions. >> > > It's nothing, just follow the appropriate links

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread Joel B. Mohler
On Mon, Dec 03, 2007 at 09:19:38AM -0800, mabshoff wrote: > On Dec 3, 6:15 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 8:56 AM, mabshoff > > <[EMAIL PROTECTED]> wrote: > > > Cpu time = 0.80, User time = 1 > > > > This is not so good, really. > > I know, but it seems to beat

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Bill Hart
On 3 Dec, 16:16, "William Stein" <[EMAIL PROTECTED]> wrote: > Where are you getting the above timings from? I worked in QQ['x'].quotient(f) which is slower than working in a number field. Bill. --~--~-~--~~~---~--~~ To post to this group, send email to sage-deve

[sage-devel] Re: Building Amayavi2, TVTK, etcetera [Mayavi2!]

2007-12-03 Thread Jaap Spies
Ondrej Certik wrote: >> Let us for instance install mayavi_2.0.1b1, traits, tvtk, etcetera: >> >> $ sudo easy_install -f dist -H dist enthought.ma* enthought.t* >> > > Nice job Jaap. Thanks for sharing the instructions. > It's nothing, just follow the appropriate links :), and you will find wha

[sage-devel] Re: Building Amayavi2, TVTK, etcetera

2007-12-03 Thread Ondrej Certik
> Let us for instance install mayavi_2.0.1b1, traits, tvtk, etcetera: > > $ sudo easy_install -f dist -H dist enthought.ma* enthought.t* > Nice job Jaap. Thanks for sharing the instructions. Ondrej --~--~-~--~~~---~--~~ To post to this group, send email to sage-d

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread Ted Kosan
MH wrote > I got a message: Loading Java Applet Failed. > > Its exciting to see some work in this direction; interactive 3D > objects are the final hurdle for sage, I think. If you click on the box where the applet would have been displayed it will bring up the Java console and it will contain t

[sage-devel] Raising matrices to a power

2007-12-03 Thread Stephen Forrest
On Dec 3, 2007 11:20 AM, William Stein <[EMAIL PROTECTED]> wrote: [snip] > So -- does anybody know how to raise a matrix to a power in > Mathematica, since I sure don't. An explanation of how to do so is here: http://documents.wolfram.com/mathematica/Built-inFunctions/AdvancedDocumentation/Line

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread mhampton
On my system, for this example sage takes .36 seconds, and mathematica takes 3.86 seconds, so sage is about 10 times faster. -MH On Dec 3, 10:42 am, Jason Grout <[EMAIL PROTECTED]> wrote: > William Stein wrote: > > On Dec 3, 2007 8:13 AM, Bill Hart <[EMAIL PROTECTED]> wrote: > >> I did try to c

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
> > We should be aiming to beat maple/magma, > > which do this factorization in 0.01 seconds or so. > > I agree. But then there is the question of short vs. long term > solutions. > > > Where are our reverse > > engineering experts? How come Maple is so fast at this? > > Here's a new 2007 pape

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread mabshoff
On Dec 3, 6:15 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 8:56 AM, mabshoff > > > > <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 5:24 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 2007 8:01 AM, mabshoff > > > > <[EMAIL PROTECTED]> wrote: > > > > > On Dec 3, 4:

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread William Stein
On Dec 3, 2007 9:09 AM, mhampton <[EMAIL PROTECTED]> wrote: > > I got a message: Loading Java Applet Failed. > > Its exciting to see some work in this direction; interactive 3D > objects are the final hurdle for sage, I think. They are. I have to say though, having tried the Java3d based 3d grap

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
On Dec 3, 2007 8:56 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Dec 3, 5:24 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 8:01 AM, mabshoff > > > > > > > > > <[EMAIL PROTECTED]> wrote: > > > > > On Dec 3, 4:47 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > On Dec

[sage-devel] Building Amayavi2, TVTK, etcetera

2007-12-03 Thread Jaap Spies
Building the Enthought Tool Suite on Fedora 7: Dependencies: - http://www.python.org Python - http://numpy.scipy.org NumPy - http://www.scipy.org SciPy - http://peak.telecommunity.com/DevCenter/setuptools Setuptools ez_install.py - http://www.wxpython.org wxPython-2.6.x or higher for t

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread William Stein
On Dec 3, 2007 8:42 AM, Jason Grout <[EMAIL PROTECTED]> wrot > > > William Stein wrote: > > On Dec 3, 2007 8:13 AM, Bill Hart <[EMAIL PROTECTED]> wrote: > >> I did try to check that Mathematica was getting the right answer, but > >> I had no luck. I don't know how to convert a mathematica matrix i

[sage-devel] Re: Demo of 3D applets working in the notebook

2007-12-03 Thread mhampton
I got a message: Loading Java Applet Failed. Its exciting to see some work in this direction; interactive 3D objects are the final hurdle for sage, I think. -MH On Dec 2, 11:30 pm, "Ted Kosan" <[EMAIL PROTECTED]> wrote: > Here is a link to a demo of two 3D applets working inside of the > noteboo

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread mabshoff
On Dec 3, 5:24 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 8:01 AM, mabshoff > > > > <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 4:47 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 2007 7:04 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > > > I've been rese

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Jason Grout
William Stein wrote: > On Dec 3, 2007 8:13 AM, Bill Hart <[EMAIL PROTECTED]> wrote: >> I did try to check that Mathematica was getting the right answer, but >> I had no luck. I don't know how to convert a mathematica matrix into >> ordinary matrix form in SAGE, so when I do the comparison it alway

[sage-devel] broken atlas packages on Debian

2007-12-03 Thread Ondrej Certik
Hi, because SAGE uses atlas packages and because many people run SAGE on Debian, the native atlas Debian package should work, but currently it's broken, as Michael Abshoff knows very well. So when Michael finds some time, please send this email to "[EMAIL PROTECTED]": Package: atlas3-base Versi

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread David Harvey
On Dec 3, 2007, at 11:20 AM, William Stein wrote: > > On Dec 3, 2007 8:13 AM, Bill Hart <[EMAIL PROTECTED]> wrote: >> I did try to check that Mathematica was getting the right answer, but >> I had no luck. I don't know how to convert a mathematica matrix into >> ordinary matrix form in SAGE, so

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
On Dec 3, 2007 8:01 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Dec 3, 4:47 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 7:04 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > > > I've been researching this slow mpolynomial factorization a bit more and > > > haven't c

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread William Stein
On Dec 3, 2007 8:13 AM, Bill Hart <[EMAIL PROTECTED]> wrote: > I did try to check that Mathematica was getting the right answer, but > I had no luck. I don't know how to convert a mathematica matrix into > ordinary matrix form in SAGE, so when I do the comparison it always > just says false. Damn

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread William Stein
On Dec 3, 2007 5:40 AM, Bill Hart <[EMAIL PROTECTED]> wrote: > > I've just been looking at SAGE ticket number 173: > > http://www.sagemath.org:9002/sage_trac/ticket/173 > > The idea is that Mathematica raises a 3 dimensional matrix M over QQ > to the power 20,000 much faster than either SAGE or Ma

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Bill Hart
I did try to check that Mathematica was getting the right answer, but I had no luck. I don't know how to convert a mathematica matrix into ordinary matrix form in SAGE, so when I do the comparison it always just says false. Bill. On 3 Dec, 15:21, Clement Pernet <[EMAIL PROTECTED]> wrote: > Hi th

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread mabshoff
On Dec 3, 4:47 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 7:04 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > I've been researching this slow mpolynomial factorization a bit more and > > haven't come up with any good news. Hans (from singular) replied to my > > forum

[sage-devel] Re: 2.8.15.rc0 doctest failures

2007-12-03 Thread mabshoff
On Dec 3, 4:19 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Hello, > > 2.8.15.rc0 passed all tests on OSX 10.5.1 intel, OSX 10.4 intel, RHEL > 32-bit, Debian 32-bit, Ubuntu 32-bit, and Debian 64-bit. > It failed several tests on OSX 10.4 PowerPC: > > sage -t devel/sage-main/sage/rin

[sage-devel] Re: segfault from coercion with matrices over GF(p) and ints

2007-12-03 Thread William Stein
On Dec 3, 2007 7:41 AM, Nick Alexander <[EMAIL PROTECTED]> wrote: > > Dear William, > > > > My question wasn't about the bug. Craig's bug report gave rise to a > > question about SAGE's coercion model, which can be paraphrased as > > follows: > > > > Shouldn't > > > > sage: GF(5)(int(4)) > > 4 >

[sage-devel] Re: mpolynomial factorization

2007-12-03 Thread William Stein
On Dec 3, 2007 7:04 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > I've been researching this slow mpolynomial factorization a bit more and > haven't come up with any good news. Hans (from singular) replied to my forum > post at > http://singular.mathematik.uni-kl.de/forum/viewtopic.php?t=1652 >

[sage-devel] Re: segfault from coercion with matrices over GF(p) and ints

2007-12-03 Thread Nick Alexander
On 2-Dec-07, at 7:37 PM, Iftikhar Burhanuddin wrote: > > On Sun, 2 Dec 2007, William Stein wrote: >> On Dec 2, 2007 5:42 PM, Iftikhar Burhanuddin <[EMAIL PROTECTED]> >> wrote: >>> >>> Hi folks, >>> >>> Under the current coercion model would a coercion exception (of type >>> 'exceptions.TypeErr

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread Clement Pernet
Hi there, The method using x^k mod charpoly (or minpoly) is clearly the only method I know about for that problem. If n is smallish, this is the good way to do it. For larger n (say n=O(k)), the computation of the n power of A in step 3 is the bottleneck (n^4 or n^(w+1) ops in Q, so roughly O(

[sage-devel] 2.8.15.rc0 doctest failures

2007-12-03 Thread William Stein
Hello, 2.8.15.rc0 passed all tests on OSX 10.5.1 intel, OSX 10.4 intel, RHEL 32-bit, Debian 32-bit, Ubuntu 32-bit, and Debian 64-bit. It failed several tests on OSX 10.4 PowerPC: sage -t devel/sage-main/sage/rings/polynomial/complex_roots.py sage -t devel/sage-main/sage/rings/

[sage-devel] mpolynomial factorization

2007-12-03 Thread Joel B. Mohler
Hi, I've been researching this slow mpolynomial factorization a bit more and haven't come up with any good news. Hans (from singular) replied to my forum post at http://singular.mathematik.uni-kl.de/forum/viewtopic.php?t=1652 It seems as though singular's random choices of evaluation points n

[sage-devel] Re: Raising matrices to a power

2007-12-03 Thread David Harvey
On Dec 3, 2007, at 8:40 AM, Bill Hart wrote: > I've just been looking at SAGE ticket number 173: > > http://www.sagemath.org:9002/sage_trac/ticket/173 > > The idea is that Mathematica raises a 3 dimensional matrix M over QQ > to the power 20,000 much faster than either SAGE or Magma. > > I don't

[sage-devel] Raising matrices to a power

2007-12-03 Thread Bill Hart
I've just been looking at SAGE ticket number 173: http://www.sagemath.org:9002/sage_trac/ticket/173 The idea is that Mathematica raises a 3 dimensional matrix M over QQ to the power 20,000 much faster than either SAGE or Magma. I don't know any algorithm for doing this efficiently. I only know

  1   2   >