[sage-support] Re: Symbolic convolution usage Sage

2009-12-25 Thread Nasser Abbasi
On Dec 22, 5:08 pm, Maxim wrote: > Hi all! > > I'm trying to do something which I haven't seen any examples so far : > symbolic convolution. I know I can use lists or Piecewise defined > functions to do a convolution, but here my interest is the symbolic > solution. > > To illustrate an example,

[sage-support] Re: how to scroll down more when doing ?? for long listing?

2009-11-24 Thread Nasser Abbasi
On the scroll part: I think it is my error. My eyes are trained to look for closing end if and some sort of end of function indicator. So I assumed there is more code to follow since I saw an 'if' and no closing for the 'if' After I posted this, I realized that the listing is all there is, and

[sage-support] how to scroll down more when doing ?? for long listing?

2009-11-24 Thread Nasser Abbasi
hi; I have 2 questions below: I created an account on sagenb.org, and when I do solve?? I get the listing, but it does not list the whole code, and there is no way for me to look below what is shown on the screen (there is no scroll bar for use to scroll down more). My browser ofcourse has scr

[sage-support] http://www.sagenb.org/ keeps crashing when using search box

2009-11-23 Thread Nasser Abbasi
fyi; when I go here http://www.sagenb.org/ login as guest, then I type something in the search box, the server will crash or give me an internal error. --Nasser -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-u

[sage-support] Re: Something like Mathematica's `Interact`?

2009-11-22 Thread Nasser Abbasi
On Nov 21, 3:53 pm, William Stein wrote: > I have the impression that Maplets are somewhat different than > Mathematica's Manipulate and Sage's @interact.  I'm not so familiar > with them -- I read about them online just now, and it seems like they > are basically a Maple interface to a subset

[sage-support] Re: Something like Mathematica's `Interact`?

2009-11-22 Thread Nasser Abbasi
On Nov 21, 3:53 pm, William Stein wrote: > I have the impression that Maplets are somewhat different than > Mathematica's Manipulate and Sage's @interact.  I'm not so familiar > with them -- I read about them online just now, and it seems like they > are basically a Maple interface to a subset

[sage-support] Re: Benchmarks w.r.t Matlab

2009-10-22 Thread Nasser Abbasi
On Oct 22, 11:59 am, William Stein wrote: > > Here's a benchmark (the first thing I tried): > > sage: a = random_matrix(RDF,2000) > sage: timeit('a*a') > 5 loops, best of 3: 1.8 s per loop > sage: b = matlab('rand(2000)') > sage: timeit('b*b') > 5 loops, best of 3: 3.4 s per loop > > Sage is t

[sage-support] Re: maximum

2009-10-21 Thread Nasser Abbasi
> > Suppose I write a program in Mathematica 7.0 that happens to use a > variable Foo.  Then Mathematica 8.0 comes out and Foo is a function > name that Mathematica decided to use.  Does that mean my program is > now broken? > > William Hi; In theory, Yes. But one could, if they want to, Unprot

[sage-support] Re: maximum

2009-10-21 Thread Nasser Abbasi
On Oct 20, 8:44 am, finotti wrote: > > Sorry...  My fault.  I had a "max=20", which made "max?" give me: > This is really bad that one can redefine a system function just like this. This is also a problem in other systems such as Matlab, which causes confusion specially for new users who do n

[sage-support] Re: shift-return, shift-enter, click-mouse-on-evaluate. on evaluating a cell in a notebook

2009-04-22 Thread Nasser Abbasi
On Apr 21, 3:13 am, Minh Nguyen wrote: > > My laptop has only ENTER. To do what you're suggesting, I have to hold > down the key "FN" and press ENTER. > Since you said you are using Mathematica, and on your laptop there is no ENTER key, only the RETURN key, and so you had to suffer and hit SHI

[sage-support] Re: shift-return, shift-enter, click-mouse-on-evaluate. on evaluating a cell in a notebook

2009-04-21 Thread Nasser Abbasi
On Apr 21, 4:57 am, kcrisman wrote: > Hi Nasser, > > Just out of curiosity, what about Shift-Return (as opposed to Shift- > Enter)?  If I use my thumb, I can even press both with the same > finger, though usually I use 2nd and 3rd fingers.   Or does that not > work with your keyboard configurat

[sage-support] Re: shift-return, shift-enter, click-mouse-on-evaluate. on evaluating a cell in a notebook

2009-04-21 Thread Nasser Abbasi
On Apr 21, 1:40 am, Minh Nguyen wrote: > > > But it would be much easier to have ONE key.  In Maple, the RETURN key > > will cause evaluation, and in Mathematica the ENTER key. > > That statement about Mathematica is very strange to me. With an > install of Mathematica 6 out of the box and no

[sage-support] shift-return, shift-enter, click-mouse-on-evaluate. on evaluating a cell in a notebook

2009-04-21 Thread Nasser Abbasi
Hello; It is a bit annoying having to hit 2 keys (i.e. reach out and use both hands) each time in order to evaluate a cell in sage notebook. I am using windows, and I have to hit SHIFT-ENTER, or SHIFT-RETURN, or I could use the mouse, point it to the little 'evaluate' link below the cell, which

[sage-support] sage interact. Can one run it on the web?

2009-04-21 Thread Nasser Abbasi
Simple question I hope. I see a number of interesting sage interaction code here: http://wiki.sagemath.org/interact Right now, to run any, I copy the code to my open notebook in the browser (I am on windows, so I am using VMWare and access sage via browser), then I evaluate the code copied to be

[sage-support] Re: A simple question about solve()

2009-04-15 Thread Nasser Abbasi
On Apr 15, 3:34 am, Diravan wrote: > I need to solve a very simple equation x^2 + 1 = 0 and I don't want > any complex solutions. > I tried this > x = var('x') > assume(x,'real') > solve(x^2 + 1 == 0) > but the output is [x == -1*I, x == I] > Does exist any solution in order to avoid this ? T

[sage-support] Re: Problem Sage 3.4 windows XP

2009-04-15 Thread Nasser Abbasi
On Mar 18, 1:33 pm, William Stein wrote: > On Wed, Mar 18, 2009 at 1:22 PM,   wrote: > > > I am also having a problem running Sage 3.4 on windows XP.   Vmware > > starts up, but when I run the notebook command it flashes the IP > > Just out of curiosity, has *anybody* successfully used > sage-v

[sage-support] very basic sage question on objects and methods

2009-04-14 Thread Nasser Abbasi
I create a list, using v=[1..10] Now, I wanted to find the length of 'v'. I did help(list) and do not see a method to find the length of a list object. Then looking more around, I found I can type len(v) to find the length of 'v'. But this is not OO? Why is there no method to find the leng

[sage-support] Re: silly question? how to read sage source code? (on windoz)

2008-11-14 Thread Nasser Abbasi
Thanks for the replies. I did not know spkg was tar file also. This is a small bash script which extracts the source code. It looks like everything is in the /standard folder $ cat extract_source.sh #!/bin/bash cd sage-3.1.4/spkg/standard for i in $( ls *.spkg ); do echo extracting file $i

[sage-support] silly question? how to read sage source code? (on windoz)

2008-11-14 Thread Nasser Abbasi
I've just wanted to look at the source code on my PC. (I know I can browse it on net). I am using cygwin on windoz. I know building sage on cygwin is not supported. I just wanted to look at the source code. So, I've download the source code tar file and extracted. $ ls sage-3.1.4 sage-3.1.4.ta

[sage-support] Re: Mathematica 7 coming

2008-11-14 Thread Nasser Abbasi
On Nov 14, 3:41 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > * New computable data, including genomic data, protein data, and > > current and historical weather data > > Cool.   I wonder what the license issues are with making such data > available?  Can somebody look into this? > It is

[sage-support] small observation on range(i,j)

2008-11-10 Thread Nasser Abbasi
Hello; I was just browsing something to learn about sage, and noticed this on this web site http://wiki.sagemath.org/sage_mathematica where it says: "sage: [f(i) for i in range(1, 11)] [g(1), g(2), g(3), g(4), g(5), g(6), g(7), g(8), g(9), g(10)] (note that the endpoint of the range is not inc

[sage-support] Re: question on using integral() in sage. Fourier transform of unit step function.

2008-09-22 Thread Nasser Abbasi
On Sep 21, 10:34 pm, Nasser Abbasi <[EMAIL PROTECTED]> wrote: > Let me rewrite what I wrote in last post again, since it did not > format well. > I think it is still not clear, so I wrote it in latex via SW, here it is again as screen image and PDF file http://12000.org/tm

[sage-support] Re: question on using integral() in sage. Fourier transform of unit step function.

2008-09-21 Thread Nasser Abbasi
Let me rewrite what I wrote in last post again, since it did not format well. I think it does converge. int( exp(-I 2 Pi f t),{t,0,infinity) = infinity 1/(-I 2 Pi f) * [ exp(-I 2 Pi f t) }

[sage-support] Re: question on using integral() in sage. Fourier transform of unit step function.

2008-09-21 Thread Nasser Abbasi
> On Sat, Sep 20, 2008 at 11:58 PM,NasserAbbasi<[EMAIL PROTECTED]> wrote: > > > Hello; > > I am a sage  newbie. I'd like to find out how to make Sage give me > > this same result that I get in Mathematica. > > > This is what I typed (I do not know how to cut/paste from the VMWare > > player cons

[sage-support] question on using integral() in sage. Fourier transform of unit step function.

2008-09-21 Thread Nasser Abbasi
Hello; I am a sage newbie. I'd like to find out how to make Sage give me this same result that I get in Mathematica. This is what I typed (I do not know how to cut/paste from the VMWare player console to her yet, so if there is a typo it is because of this). f=var('f') assume(f>0) integral( e^