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));
(%o2
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: [A.matrix_from_row
Hi Stefan,
On Tue, Feb 2, 2010 at 1:07 PM, Stefan wrote:
> 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 seconds
Ordered by: interna
Ah! Running cp.run('Problem3A()') did the job. Nevermind!
On Feb 1, 9:07 pm, Stefan 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 did come across a post t
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 did come across a post that utilized 'prun', but I couldn't figure
out how to get it to work.)
Anyway, after running the code:
i
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 wrote:
> Update: No, the 10.5 version does not appear to work (Bad
>
> 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 assumin
On Feb 1, 11:57 pm, Jaap Spies 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
--
To post to th
Hi,
On Tue, Feb 2, 2010 at 11:01 AM, 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 Parallel Python [1] f
Harald Schilly wrote:
On Feb 1, 4:59 am, Cal Armstrong 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
On Feb 1, 4:47 pm, Simon 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, 'integer');assume(m, 'integ
Hi,
On Tue, Feb 2, 2010 at 9:04 AM, wrote:
> 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 this group, send e
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@googl
Hi,
On Tue, Feb 2, 2010 at 9:00 AM, 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], nor the experimen
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 grou
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
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=gst&q=noncommutative#ebdc76a97a0b1ea6
and I check examples, but unfortunately I do not k
I have a problem with building SAGE 4.3.1 for linux-powerpc32:
checking lex output file root... configure: error: cannot find output
from flex; giving up
My distro is Fedora 12 Constantine, I have flex 2.5.35 installed by
package management system (Package flex-2.5.35-7.fc12.ppc already
installed
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 -Wstrict
Greetings,
On 1 fév, 14:44, Minh Nguyen wrote:
> 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é
--
To post to this
Hi,
2010/2/2 jplab :
> 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 4.3
on Mac OS X 10.5.
--
Reg
Hi kitz,
On Tue, Feb 2, 2010 at 6:35 AM, kitz wrote:
> 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 Nguyen
--
To post to thi
Hi,
On 1 fév, 14:01, Minh Nguyen wrote:
> Hi,
>
> On Tue, Feb 2, 2010 at 5:29 AM, jplab wrote:
>
>
>
> > 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
Thanks to all who helped yesterday, M&S 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 pre-compile
Hi,
On Tue, Feb 2, 2010 at 5:29 AM, jplab wrote:
> 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 10.5 and
10.6 can be problematic
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"
On Feb 1, 10:47 am, Simon 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, 'integer');assume(m, 'in
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 a
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 = integrate(e^(i*(m-n)*x),x,0,2*
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
co
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 t
On Feb 1, 3:12 am, Minh Nguyen 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 rss feed is a bit bro
On Feb 1, 4:59 am, Cal Armstrong 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 android's python scrip
Hi Michael,
On Feb 1, 2:37 am, Michael Beeson 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. = QQ[]
sage: a = z^2 - z^-2
sage: f = z^2 *(p-a)
On 1 Lut, 00:34, William Stein wrote:
> 2010/1/31 Kakaz :
>
> > 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 month I do not
> > remember wh
35 matches
Mail list logo