[sage-devel] Re: sage calculus

2007-03-02 Thread Alfredo Portes
> I'm also wondering what are the most common usage methods of SAGE: > 1) notebook > 2) command line sage prompt > 3) file.sage or file.py scripts > Other methods??? Anyone using the Live CD ? --~--~-~--~~~---~--~~ To post to this group, send email to sage-deve

[sage-devel] Re: unsubscribe

2007-03-02 Thread David Joyner
Done. On 02 Mar 2007 08:41:48 +0100, Martin Rubey <[EMAIL PROTECTED]> wrote: > > Dear maintainers, > > please unsubscribe me from the list. Something went wrong with my google > account and I cannot access my subscription anymore. (I only used it for sage) > > Many thanks > > Martin > > > > > -

[sage-devel] Re: Multivariate polynomial benchmark

2007-03-02 Thread mabshoff
On Feb 28, 4:14 pm, David Harvey <[EMAIL PROTECTED]> wrote: Hello, > > Sure. It's pure C, and independent from FLINT: > > http://sage.math.washington.edu/home/dmharvey/FLINT/trunk/profiler.chttp://sage.math.washington.edu/home/dmharvey/FLINT/trunk/profiler.h > > That code is GPL. The header is a

[sage-devel] Re: sage calculus

2007-03-02 Thread David Joyner
Keep up the great work you're doing. If I get enough time, I may email you again over spring break to ask you some questions about how to improve the tutorial based on your new stuff. On 3/2/07, Bobby Moretti <[EMAIL PROTECTED]> wrote: > Hey Joel, > > > > > > I'm wondering if we could have an upd

[sage-devel] Re: sage calculus

2007-03-02 Thread Joel B. Mohler
On Thu, Mar 01, 2007 at 11:14:14PM -0800, William Stein wrote: > > On Thursday 01 March 2007 11:01 pm, Nick Alexander wrote: > > On Mar 1, 3:25 pm, Martin Albrecht <[EMAIL PROTECTED]> > > > > wrote: > > > > > I'm also wondering what are the most common usage methods of SAGE: > > > > > 1) noteboo

[sage-devel] Problem building sage-2.2 on OS X (error with MPFI build picking up external MPFR lib)

2007-03-02 Thread Jason Martin
The problem is that the linker is picking up my 64-bit version of libmpfr.a located in /usr/local/lib instead of the 32-bit libmpfr.a located in sage-2.2/local/lib. I fixed it by adding a -Z flag (which tells the linker not to search the system directories). There should be a cleaner fix, but I'

[sage-devel] Re: Problem building sage-2.2 on OS X (error with MPFI build picking up external MPFR lib)

2007-03-02 Thread William Stein
On Friday 02 March 2007 8:30 am, Jason Martin wrote: > The problem is that the linker is picking up my 64-bit version of > libmpfr.a located in /usr/local/lib instead of the 32-bit libmpfr.a > located in sage-2.2/local/lib.  I fixed it by adding a -Z flag (which > tells the linker not to search th

[sage-devel] Re: random number generation

2007-03-02 Thread William Stein
On 3/1/07, didier deshommes <[EMAIL PROTECTED]> wrote: > On 2/25/07, Craig Citro <[EMAIL PROTECTED]> wrote: > > Hey all, > > > > So I tried to generate a random polynomial today, and ran into some trouble. > > Here's what I did: > > > > sage: R. = ZZ['x'] > > sage: R.random_element(3) > > > > That

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-03-02 Thread Timothy Clemans
There is a javascript app for resizing textareas at http://www.peterbe.com/Changing-textarea-size. You could add this app for the slideshow mode and just have us type in the address bar "javascript:makeBigger(1)". I'm trying to find out if there is a script I could run in the address that would le

[sage-devel] Re: random number generation

2007-03-02 Thread Robert Bradshaw
It's always bugged me that the default distribution for integers (and rationals) is just a uniform distribution over some small range. What if instead we chose the distribution ZZ.random_element() = floor(1/r) where r is uniformly distributed in (-1,1). Then P(n) = 1 / (2 |n| (| n| + 1)) fo

[sage-devel] Re: random number generation

2007-03-02 Thread William Stein
Sure, go for it! On 3/2/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > It's always bugged me that the default distribution for integers (and > rationals) is just a uniform distribution over some small range. What > if instead we chose the distribution ZZ.random_element() = floor(1/r) > where

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-03-02 Thread boothby
Great! Send me a patch! On Fri, 2 Mar 2007, Timothy Clemans wrote: > > There is a javascript app for resizing textareas at > http://www.peterbe.com/Changing-textarea-size. You could add this app > for the slideshow mode and just have us type in the address bar > "javascript:makeBigger(1)". I'm

[sage-devel] Re: new matrix constructor

2007-03-02 Thread Robert Bradshaw
You can always use list comprehension sage: matrix(5,5,[1000*i+j for i in range(5) for j in range(5)]) [ 01234] [1000 1001 1002 1003 1004] [2000 2001 2002 2003 2004] [3000 3001 3002 3003 3004] [4000 4001 4002 4003 4004] On Feb 13, 2007, at 10:11 PM, Kyle Schalm wrote: > here

[sage-devel] Re: my photos from sd3

2007-03-02 Thread Robert Bradshaw
Is your mysql server down? On Feb 21, 2007, at 4:43 PM, Yi Qiang wrote: > > http://www.yiqiang.net/gallery/v/sd3 > > Enjoy, > Yi > > > > > --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send

[sage-devel] Re: my photos from sd3

2007-03-02 Thread Yi Qiang
On Mar 2, 2007, at 4:38 PM, Robert Bradshaw wrote: > > Is your mysql server down? Yeah, I am migrating hosts, give me a couple days to iron things out :) > > On Feb 21, 2007, at 4:43 PM, Yi Qiang wrote: > >> >> http://www.yiqiang.net/gallery/v/sd3 >> >> Enjoy, >> Yi >> >> >> >> >> > > > Yi

[sage-devel] Random elements

2007-03-02 Thread David Roe
I've been thinking about random elements a bit for p-adics. There are lots of good and reasonable ways to generate random elements of things. For example, in addition to Robert's suggestion, we could have a Gaussian distribution with a specified mean, or a Poisson distribution... It seems like a