[sage-support] Re: feature request - worksheets labels.

2010-02-01 Thread Kakaz
On 1 Lut, 00:34, William Stein wst...@gmail.com wrote: 2010/1/31 Kakaz kazimierz.k...@gmail.com: I have several worksheets in my sage, and when I have some new ideas I create other one, somethimes just for fun. So there are worksheets named: Idea 1, Matrices, 'FFT, FFT3 etc. After a

[sage-support] Re: resultant

2010-02-01 Thread Simon King
Hi Michael, On Feb 1, 2:37 am, Michael Beeson profbee...@gmail.com wrote: I let Mathematica run a similar problem for 36 hours with no reply; but I don't understand why it's too difficult. Indeed, not easy. By the way, in your first example, you defined sage: R.z,p,q = QQ[] sage: a = z^2 -

[sage-support] Re: Sage in calculators

2010-02-01 Thread Harald Schilly
On Feb 1, 4:59 am, Cal Armstrong sig...@gmail.com wrote: I would rather see it ported to a device that students already have, their smartphones, instead of saddling them with the purchase of another device. I just want to add that it is already possible to run sympy (pure python) inside

[sage-support] Re: sage blog

2010-02-01 Thread Harald Schilly
On Feb 1, 3:12 am, Minh Nguyen nguyenmi...@gmail.com wrote: In its current state, there is no automatic way for me to configure Planet Sage to automatically get Sage specific topics from your blog. I tried to create a yahoo pipe with filtering by item.title, but it doesn't work. I think the

[sage-support] Listing all k-minors of a matrix?

2010-02-01 Thread janwil
Hi all, Is there a way to get all the k-minors of a matrix as a list of matrices? Currently there is a method M.minors(2), but this only produces the list of determinants. What about the matrices themselves? Obviously, Sage must have them somewhere internally to compute the determinants, but how

[sage-support] Re: Listing all k-minors of a matrix?

2010-02-01 Thread javier
You can see the source of the minors method using sage: M.minors?? (you need to have defined M beforehand). By browsing at that source one can easily find the general way of doing it: sage: A = Matrix(QQ, 3, [1,2,3,4,5,6,7,8,9]) sage: [A.matrix_from_rows_and_columns(rows, cols) for cols in

[sage-support] exponential and simplify

2010-02-01 Thread Simon
Hi, this is hopefully an easy question: As a simple exercise, I'm trying to show that \int_0^{2\pi} e^{i (m-n) x}dx = 2\pi\delta_{mn} for integer m, n. Here's how I did it: sage: var('m,n'); w = SR.wild(0); sage: assume(n, 'integer');assume(m, 'integer') sage: int =

[sage-support] Sage Virtualbox missing vboxfs

2010-02-01 Thread PKHG
I am running (Vista) the Virtualbox with sange appliance (sage-virtualbox-4.2.1.p1.zip) and it works nicely. But I would like to use a local Vista-directory to exchange files. Now the problem, ONCE I succeeded to use c:\01sage to save a picture using sudo mount -t vboxfs ... But a second time I

[sage-support] Re: exponential and simplify

2010-02-01 Thread kcrisman
On Feb 1, 10:47 am, Simon simonjty...@gmail.com wrote: Hi, this is hopefully an easy question: As a simple exercise, I'm trying to show that \int_0^{2\pi} e^{i (m-n) x}dx = 2\pi\delta_{mn} for integer m, n. Here's how I did it: sage: var('m,n'); w = SR.wild(0); sage: assume(n,

[sage-support] Runtime error: Unable to start gap (as user nobody with xgrid)

2010-02-01 Thread jplab
Hi, I'm currently using xgrid for my computations... Here is the setup: We have multiple imac OS 10.6, a intel server with mac OS 10.5 and two G5 mac (10.5). All of them have sage4.3 (or 4.3.1) binary build. In order for us to make xgrid work with sage, we gave some more rights for user nobody.

Re: [sage-support] Runtime error: Unable to start gap (as user nobody with xgrid)

2010-02-01 Thread Minh Nguyen
Hi, On Tue, Feb 2, 2010 at 5:29 AM, jplab jeanphilippela...@gmail.com wrote: SNIP My computation are considerably slowed down by this bug and I would be very happy to find a solution! Help! If you need more info, let me know! My best guess is that mixing Sage 4.3 and 4.3.1 with Mac OS X

[sage-support] Re: ubuntu 9.1 installation trouble

2010-02-01 Thread kitz
Thanks to all who helped yesterday, MS in particular. Using sudo aptitude install build-essential (instead of apt-get or synaptic manager) downgraded the gcc and libraries to 4.4.1-4ubuntu8 so the dependencies all worked. Then gfortran came in without a hitch and Sage is running from a

[sage-support] Re: Runtime error: Unable to start gap (as user nobody with xgrid)

2010-02-01 Thread jplab
Hi, On 1 fév, 14:01, Minh Nguyen nguyenmi...@gmail.com wrote: Hi, On Tue, Feb 2, 2010 at 5:29 AM, jplab jeanphilippela...@gmail.com wrote: SNIP My computation are considerably slowed down by this bug and I would be very happy to find a solution! Help! If you need more info, let me

Re: [sage-support] Re: ubuntu 9.1 installation trouble

2010-02-01 Thread Minh Nguyen
Hi kitz, On Tue, Feb 2, 2010 at 6:35 AM, kitz kmphi...@gmail.com wrote: SNIP Thank you all again. Sage on. Glad to know it works out for you. (Is there a way to mark this thread as solved?) I'm not aware of anything like that for email threads on Google groups. -- Regards Minh Van

Re: [sage-support] Re: Runtime error: Unable to start gap (as user nobody with xgrid)

2010-02-01 Thread Minh Nguyen
Hi, 2010/2/2 jplab jeanphilippela...@gmail.com: SNIP But what is annoying is that on the intel server with 10.5 and sage 4.3, it does work! I think that is expected. The bug at http://trac.sagemath.org/sage_trac/ticket/7095 only affects Mac OS X 10.6. You should have no trouble using Sage

[sage-support] Re: Runtime error: Unable to start gap (as user nobody with xgrid)

2010-02-01 Thread jplab
Greetings, On 1 fév, 14:44, Minh Nguyen nguyenmi...@gmail.com wrote: SNIP I think that is expected. The bug at http://trac.sagemath.org/sage_trac/ticket/7095 only affects Mac OS X 10.6. You should have no trouble using Sage 4.3 on Mac OS X 10.5. Oh, I see! Great! Thanks again! JP Labbé

Re: [sage-support] Cython Installation Problem with suse 10.1

2010-02-01 Thread Robert Bradshaw
On Jan 31, 2010, at 2:23 PM, ulrich.t...@hsnr.de wrote: Hi, I got a problem with the insatllation of sage-4.3.1. I am using Suse 10.1 on a Dell Latitude Laptop. Excerpt from the install.log: building 'Cython.Compiler.Parsing' extension gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall

[sage-support] Singular-nc_algebra-question

2010-02-01 Thread Kakaz
I try to define some noncommutative structures in Sage, but I do not know exactly how. I found this thread: http://groups.google.com/group/sage-support/browse_thread/thread/73ea537d657a3654/ebdc76a97a0b1ea6?lnk=gstq=noncommutative#ebdc76a97a0b1ea6 and I check examples, but unfortunately I do not

Re: [sage-support] Sage in calculators

2010-02-01 Thread calcpage
I was uin my kid's iPod Touch the other day to edit my sage notebook files at www.sagenb.org using safari no problem! HTH, A. Jorge Garcia http://calcpage.tripod.com Teacher Professor Applied Mathematics, Physics  Computer Science Baldwin Senior High School Nassau Community College -- To

Re: [sage-support] Re: sage blog

2010-02-01 Thread calcpage
OK, thanx for trying. Regards, A. Jorge Garcia http://calcpage.tripod.com Teacher Professor Applied Mathematics, Physics  Computer Science Baldwin Senior High School Nassau Community College -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group,

[sage-support] Re: [sage-edu] dSage, where for art thou, dSage?

2010-02-01 Thread Minh Nguyen
Hi, On Tue, Feb 2, 2010 at 9:00 AM, calcp...@aol.com wrote: Oh, OK, so to use dSage I need to install an spkg locally. Yes, if there's an spkg for dsage. However, note that dsage is not in any of the spkg repositories. It's not in the standard repository [1], nor the optional repository [2],

Re: [sage-support] Re: sage blog

2010-02-01 Thread calcpage
OOPs, I'm sorry, I am a total noob wrt rss. How do I enable this? HTH, A. Jorge Garcia http://calcpage.tripod.com Teacher Professor Applied Mathematics, Physics  Computer Science Baldwin Senior High School Nassau Community College -- To post to this group, send email to

[sage-support] Re: [sage-edu] dSage, where for art thou, dSage?

2010-02-01 Thread Minh Nguyen
Hi, On Tue, Feb 2, 2010 at 9:04 AM, calcp...@aol.com wrote: SNIP BTW, how does the @parallel decorator work? Is this part of pp? See the file SAGE_ROOT/devel/sage-main/sage/parallel/decorate.py especially the function parallel() in that module. -- Regards Minh Van Nguyen -- To post to

[sage-support] Re: exponential and simplify

2010-02-01 Thread andrejv
On Feb 1, 4:47 pm, Simon simonjty...@gmail.com wrote: Hi, this is hopefully an easy question: As a simple exercise, I'm trying to show that \int_0^{2\pi} e^{i (m-n) x}dx = 2\pi\delta_{mn} for integer m, n. Here's how I did it: sage: var('m,n'); w = SR.wild(0); sage: assume(n,

Re: [sage-support] Re: Sage in calculators

2010-02-01 Thread Jaap Spies
Harald Schilly wrote: On Feb 1, 4:59 am, Cal Armstrongsig...@gmail.com wrote: I would rather see it ported to a device that students already have, their smartphones, instead of saddling them with the purchase of another device. I just want to add that it is already possible to run sympy

[sage-support] Re: [sage-edu] dSage, where for art thou, dSage?

2010-02-01 Thread Minh Nguyen
Hi, On Tue, Feb 2, 2010 at 11:01 AM, calcp...@aol.com wrote: OK, let me get this straight - if I download SAGE binaries (or source files to compile) to install locally on my linux boxes on my LAN, I can use parallel python to run a cluster? I'm not sure about that. See the website of

[sage-support] Re: Sage in calculators

2010-02-01 Thread Harald Schilly
On Feb 1, 11:57 pm, Jaap Spies j.sp...@hccnet.nl wrote: How do you do that? Can't find python on my android :( I don't have android, but i think 1. http://code.google.com/p/android-scripting/ 2. http://ondrejcertik.blogspot.com/2009/08/sympy-on-google-phone.html if it works - blog it ;) H --

[sage-support] Re: exponential and simplify

2010-02-01 Thread kcrisman
In Maxima you would use rectform to convert the expression from polar to rect form: sage: int._maxima_().rectform() 0 sage: e^(i*2*pi*m)._maxima_().rectform() e^(2*I*pi*m) sage: exp(i*2*pi*m)._maxima_().rectform() 1 Thanks, Andrej, that is very helpful. Am I correct in assuming that

[sage-support] Re: installation problems for Sage binary on Mac

2010-02-01 Thread bazzoola
I am seeing the same problem I have a 32-bit core duo CPU. a i386 32-bit kernel and I downloaded sage-4.3.1-OSX-10.6-i386-Darwin.dmg but whenever I run sage I get the infamous bad cpu type error On Jan 27, 8:22 pm, Andri Egilsson andri.egils...@gmail.com wrote: Update: No, the 10.5 version does

[sage-support] Re: Profiling code in Sage

2010-02-01 Thread Stefan
Ah! Running cp.run('Problem3A()') did the job. Nevermind! On Feb 1, 9:07 pm, Stefan stefan.louis.no...@gmail.com wrote: Hi guys, After searching through the newsgroup for any posts on profiling code in Sage, I thought I'd make a post asking about what possible methods are available. (I

Re: [sage-support] Profiling code in Sage

2010-02-01 Thread Minh Nguyen
Hi Stefan, On Tue, Feb 2, 2010 at 1:07 PM, Stefan stefan.louis.no...@gmail.com wrote: SNIP Can anyone point me in the right direction for profiling a Python function in Sage? Here's an example on using prun from within Sage: sage: %prun next_prime(10) 4 function calls in 0.000 CPU

[sage-support] Re: Listing all k-minors of a matrix?

2010-02-01 Thread Jason Grout
On 02/01/2010 08:12 AM, javier wrote: You can see the source of the minors method using sage: M.minors?? (you need to have defined M beforehand). By browsing at that source one can easily find the general way of doing it: sage: A = Matrix(QQ, 3, [1,2,3,4,5,6,7,8,9]) sage:

[sage-support] Re: exponential and simplify

2010-02-01 Thread Simon
Thank you both for your replies. It's interesting that in Andrej's examples, the e^x and exp(x) form do not yield the same result, since in maxima (which I know next to nothing about) we have (%i1) declare(m, integer); (%o1)done (%i2) rectform(exp(2*m*%i*%pi));