[sage-support] Re: Creating a growing array in sage

2009-10-31 Thread Yotam Avital
This is not what I want. sage: !cat file1 1 3 2 0 3 10 sage: !cat file2 1 29 2 21 3 -19 sage: a=numpy.loadtxt('file1') sage: b=numpy.loadtxt('file2') sage: out = a b sage: out array([[ 1., 3. ,29], [ 2., 0. ,21], [ 3., 10. ,-19]]) On Sun, Nov 1, 2009 at 3:02 AM, Jason

[sage-support] Re: publishing a worksheet

2009-10-31 Thread David Joyner
On Sat, Oct 31, 2009 at 9:04 PM, Jason Grout wrote: > > David Joyner wrote: >> On Sat, Oct 31, 2009 at 5:56 PM,   wrote: >>> OK, what does sharing mean then?  And how do I publish a worksheet >>> instead? >> >> Sharing is if yo want to share with a particular user on the server. >> For example, I

[sage-support] Re: publishing a worksheet

2009-10-31 Thread Jason Grout
David Joyner wrote: > On Sat, Oct 31, 2009 at 5:56 PM, wrote: >> OK, what does sharing mean then? And how do I publish a worksheet >> instead? > > Sharing is if yo want to share with a particular user on the server. > For example, I have my students work out a Sage exercise and, instead of > p

[sage-support] Re: Creating a growing array in sage

2009-10-31 Thread Jason Grout
yotama9 wrote: > Hello. > > I have several files of data that I want to merge into a single array > and then manipulate it (adding a single column to all the column > etc.) > > Each file is constructed of two columns. I want to take the columns of > the first file and add to the the second colum

[sage-support] Re: sage www pages

2009-10-31 Thread Harald Schilly
On Nov 1, 12:41 am, "ma...@mendelu.cz" wrote: > From Linux machine I access directly the  linux version. Great! Ok, good. The limitation is that we do not run any executable code on the server so that's a rather crude method for preselection, but saves one step and should work in >99% of all cas

[sage-support] Re: libecm test failure in 4.2

2009-10-31 Thread linuxgus
Thank you, William. Just to correct myself (although it hardly matters), the AMD Semptron at home is SINGLE core, not dual, as I erroneously stated in the original posting. Concerning inria.fr, isn't it the same institution that offers scilab? Just curious. --~--~-~--~~---

[sage-support] Re: sage www pages

2009-10-31 Thread ma...@mendelu.cz
On 1 lis, 00:34, Harald Schilly wrote: > On Oct 31, 9:56 pm, "ma...@mendelu.cz" wrote: > > > Hello all, two download links from main page at sagemath.org point not > > to download page, but to download binary for windows. I think that > > this is not intended. > > Have you accessed the page on a

[sage-support] Re: sage www pages

2009-10-31 Thread Harald Schilly
On Oct 31, 9:56 pm, "ma...@mendelu.cz" wrote: > Hello all, two download links from main page at sagemath.org point not > to download page, but to download binary for windows. I think that > this is not intended. Have you accessed the page on a windows machine? If yes, it's ok. The point in this

[sage-support] Re: windows-virtualbox problems

2009-10-31 Thread madison.mich...@gmail.com
I have had luck with sage in VirtualBox with an old XP computer. However, I only have 1 GB of ram, so here are a couple of things to try. 1. As the program comes up hit enter as windows about the keyboard and the mouse pop up. 2. When you get the Sage math software window and things are not runn

[sage-support] Re: publishing a worksheet

2009-10-31 Thread David Joyner
On Sat, Oct 31, 2009 at 5:56 PM, wrote: > > OK, what does sharing mean then?  And how do I publish a worksheet > instead? Sharing is if yo want to share with a particular user on the server. For example, I have my students work out a Sage exercise and, instead of printing it out or emailing it

[sage-support] Re: Creating a growing array in sage

2009-10-31 Thread David Joyner
On Sat, Oct 31, 2009 at 3:05 PM, yotama9 wrote: > > Hello. > > I have several files of data that I want to merge into a single array > and then manipulate it (adding a single column to all the column > etc.) > > Each file is constructed of two columns. I want to take the columns of > the first fi

[sage-support] Re: publishing a worksheet

2009-10-31 Thread ma...@mendelu.cz
On 31 říj, 23:09, William Stein wrote: > On Sat, Oct 31, 2009 at 2:56 PM,   wrote: > > > OK, what does sharing mean then?  And how do I publish a worksheet > > instead? > I think that sharing means, that another user can run and modify your worksheet. R. --~--~-~--~~~-

[sage-support] Re: publishing a worksheet

2009-10-31 Thread William Stein
On Sat, Oct 31, 2009 at 2:56 PM, wrote: > > OK, what does sharing mean then?  And how do I publish a worksheet > instead? Click on the big button that is labeled "Publish", which is at the very right, third from the top. William > > TIa > A. Jorge Garcia > http://calcpage.tripod.com > > Teach

[sage-support] Re: publishing a worksheet

2009-10-31 Thread calcpage
OK, what does sharing mean then? And how do I publish a worksheet instead? TIa A. Jorge Garcia http://calcpage.tripod.com Teacher & Professor Applied Mathematics, Physics & Computer Science Baldwin Senior High School & Nassau Community College --~--~-~--~~~---~--~

[sage-support] Re: windows-virtualbox problems

2009-10-31 Thread William Stein
On Sat, Oct 31, 2009 at 12:41 PM, combinatorialist wrote: > > Is there any installation for idiots guide that describes installing > sage and virtualbox on a windows machine. I can get virtual box > running and have even played the linux games in a virtualbox window, > but I can't seem to get sag

[sage-support] windows-virtualbox problems

2009-10-31 Thread combinatorialist
Is there any installation for idiots guide that describes installing sage and virtualbox on a windows machine. I can get virtual box running and have even played the linux games in a virtualbox window, but I can't seem to get sage notebook working. Any hints? here's what happens: I start "virtua

[sage-support] sage www pages

2009-10-31 Thread ma...@mendelu.cz
Hello all, two download links from main page at sagemath.org point not to download page, but to download binary for windows. I think that this is not intended. Despite the fact that sage runs on Linux, it is more complicated to find Linux version than windows Robert --~--~-~--~~---

[sage-support] Re: publishing a worksheet

2009-10-31 Thread ma...@mendelu.cz
You have to publish it, not share! Robert On 31 říj, 21:24, calcp...@aol.com wrote: > When you are happy with a worksheet, how do you publish it?  Do you  simply > click in the notebook() where it says share?  I did so, but I do not  see > my worksheet in the published page.  Does it take a whil

[sage-support] publishing a worksheet

2009-10-31 Thread CalcPage
When you are happy with a worksheet, how do you publish it? Do you simply click in the notebook() where it says share? I did so, but I do not see my worksheet in the published page. Does it take a while before it appears there or am I doing this wrong? TIA, A. Jorge Garcia _http://calcp

[sage-support] Re: graphic with R statistic program

2009-10-31 Thread Vincent Delecroix
On 31 oct, 20:20, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > On 23 oct, 13:46, Dag Sverre Seljebotn > wrote: > > > > > Vincent Delecroix wrote: > > > Hi, > > > > I'm working on simplestatisticexample for which I use the SAGE > > > interface of theRprogram. I'm not able to plot a graph

[sage-support] Re: graphic with R statistic program

2009-10-31 Thread Vincent Delecroix
On 23 oct, 13:46, Dag Sverre Seljebotn wrote: > Vincent Delecroix wrote: > > Hi, > > > I'm working on simplestatisticexample for which I use the SAGE > > interface of theRprogram. I'm not able to plot a graphic. > > > InRwe use : > > {{{ > >R: x <- (1, 1, 1, 2, 3, 3, 4, 5, 5, 6) > >R: hist(x) > >

[sage-support] Creating a growing array in sage

2009-10-31 Thread yotama9
Hello. I have several files of data that I want to merge into a single array and then manipulate it (adding a single column to all the column etc.) Each file is constructed of two columns. I want to take the columns of the first file and add to the the second column of each file. Is there a way

[sage-support] Re: libecm test failure in 4.2

2009-10-31 Thread William Stein
On Sat, Oct 31, 2009 at 11:35 AM, linuxgus wrote: > > Last night I updated to Sage 4.2 on my 64-bit openSuSE 11.1 with > 2.6.28.2 kernel on a laptop with AMD Semptron, dual core..  Sage said > it updated successfully, but just for good measure, I ran a 'make > test' and went to sleep.  Apparently

[sage-support] libecm test failure in 4.2

2009-10-31 Thread linuxgus
Last night I updated to Sage 4.2 on my 64-bit openSuSE 11.1 with 2.6.28.2 kernel on a laptop with AMD Semptron, dual core.. Sage said it updated successfully, but just for good measure, I ran a 'make test' and went to sleep. Apparently, all the tests passed, except the one(s) involving libecm (o

[sage-support] Re: compiling sage 4.2 fom source on ubuntu karmic 9.10

2009-10-31 Thread William Stein
On Sat, Oct 31, 2009 at 6:50 AM, Minh Nguyen wrote: > > Hi Kjetil, > > On Sun, Nov 1, 2009 at 12:41 AM, Kjetil Halvorsen > wrote: > > > >> What does this mean? > > It means you have successfully compiled Sage from source and now you > have a working local installation of Sage. As for the docte

[sage-support] Re: why this is wrong

2009-10-31 Thread William Stein
2009/10/31 : > > I am so sorry. I just typed the bracket wrong. > > how can I delete the email? You don't have to. Moreover, it's probably a common mistake first time users (especially users of Mathematica) might make, so I think it is valuable to have in the archive. > > > wxu...@sohu.com 写道

[sage-support] Re: f.subs(2)?

2009-10-31 Thread calcpage
OK, I see, if I define f(x) then I can use f(2) to evaluate. Otherwise, if I define only f, then f(x=2) or f.subs(2) is required. Thanx, A. Jorge Garcia http://calcpage.tripod.com Teacher & Professor Applied Mathematics, Physics & Computer Science Baldwin Senior High School & Nassau Community

[sage-support] Re: f.subs(2)?

2009-10-31 Thread Jason Grout
calcp...@aol.com wrote: > I'm preparing a talk I'm giving at a local conference next week where > I will be demonstrating Sage. > > I'm wondering about a deprecation warning I've been getting a > lot lately. If I define function, say f(x), and I want to evaluate > f(x) at x=2, if I enter f(

[sage-support] Re: compiling sage 4.2 fom source on ubuntu karmic 9.10

2009-10-31 Thread Minh Nguyen
Hi Kjetil, On Sun, Nov 1, 2009 at 12:41 AM, Kjetil Halvorsen wrote: > What does this mean? It means you have successfully compiled Sage from source and now you have a working local installation of Sage. As for the doctest failures, you might want to provide a link to the full test log and we

[sage-support] compiling sage 4.2 fom source on ubuntu karmic 9.10

2009-10-31 Thread Kjetil Halvorsen
I just compiled sage 4.2 from source as detailed in the title, using gcc 4.4.1 and friends. Running the tests I got: The following tests failed: sage -t "devel/sage/sage/modules/free_module.py" sage -t "devel/sage/sage/server/notebook/cell.py" Total time for all tests: 7142.5

[sage-support] Re: f.subs(2)?

2009-10-31 Thread Kwankyu
I did some experiments for you f=3*x assigns a symbolic expression in x to the variable f. In this case, you should use named argument like f(x=2) On the other hand, f(x)=3*x assigns to f a symbolic function in x. Then you may just type f(2) Cheers Kwankyu --~--~-~--~~-

[sage-support] Re: power representation of finite field elements

2009-10-31 Thread Kwankyu
I did some experiments for you f=3*x assigns a symbolic expression in x to the variable f. In this case, you should use named argument like f(x=2) On the other hand, f(x)=3*x assigns to f a symbolic function in x. Then you may just type f(2) Cheers Kwankyu --~--~-~--~~

[sage-support] Re: why this is wrong

2009-10-31 Thread wxuyec
I am so sorry. I just typed the bracket wrong. how can I delete the email? wxu...@sohu.com 写道: > Hi, all > > > I typed the followings, > > var('f,A,p,m') > > f=A*p*(1+p)^m/[(1+p)^m-1] > > > but it produced a error as follows, > > TypeError: unsupported operand parent(s) for '/': 'Symbolic Ring

[sage-support] why this is wrong

2009-10-31 Thread wxuyec
Hi, all I typed the followings, var('f,A,p,m') f=A*p*(1+p)^m/[(1+p)^m-1] but it produced a error as follows, TypeError: unsupported operand parent(s) for '/': 'Symbolic Ring' and '' I am not clear about that. what is wrong? Thanks in advance! --~--~-~--~~~--

[sage-support] Re: f.subs(2)?

2009-10-31 Thread David Joyner
Do you mean this? sage: f = x^2+1 sage: f(x=2) 5 sage: f(2) /Users/wdj/sagefiles/sage-4.1.2.rc2/local/lib/python2.6/site-packages/IPython/iplib.py:2073: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sa

[sage-support] f.subs(2)?

2009-10-31 Thread CalcPage
I'm preparing a talk I'm giving at a local conference next week where I will be demonstrating Sage. I'm wondering about a deprecation warning I've been getting a lot lately. If I define function, say f(x), and I want to evaluate f(x) at x=2, if I enter f(2) I get the warning. I've

[sage-support] Re: power representation of finite field elements

2009-10-31 Thread CalcPage
I'm preparing a talk I'm giving at a local conference next week where I will be demonstrating Sage. I'm wondering about a deprecation warning I've been getting a lot lately. If I define function, say f(x), and I want to evaluate f(x) at x=2, if I enter f(2) I get the warning. I've be

[sage-support] power representation of finite field elements

2009-10-31 Thread Kwankyu
Hi, Is it possible to get elements of a finite field printed as powers of a primitive element if the modulus is a primitive polynomial? That will save a lot of screen space. Kwankyu --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegro