[sage-support] Re: regarding tensor products of vectors

2008-04-23 Thread vivek
Thanks a lot. With all the hints given, I am able to do all things that I initially intended to do. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more o

[sage-support] Re: parenthesis matching in notebook environment

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 1:22 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > William Stein wrote: > > On Tue, Apr 22, 2008 at 3:56 PM, Jason Grout > > <[EMAIL PROTECTED]> wrote: > >> Jason Grout wrote: > >> > Lars Fischer wrote: > >> >> Hello, > >> >> > >> >>> I think this feature re

[sage-support] Re: regarding tensor products of vectors

2008-04-23 Thread Robert Bradshaw
> Hi > > I was going through a book(on quantum computation) , which uses > tensor > products. I wanted to experiment with these tensor products. Is there > any function like tensor_product(), which will take 2 or more vectors > as input and return their tensor product? > > I tried to searc

[sage-support] Re: Sage server on a gentoo system

2008-04-23 Thread Michael.Abshoff
Adam Getchell wrote: > On Tue, Apr 22, 2008 at 1:55 AM, William Stein <[EMAIL PROTECTED]> wrote: Hi Adam > Now, if we could get a port to OpenBSD (with privsep), I'd be less > concerned with the security of the system. ;-) Build a VMWare image, get it to William and I will take care of the re

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-23 Thread mabshoff
On Apr 23, 11:12 pm, "Andrzej Giniewicz" <[EMAIL PROTECTED]> wrote: > Hi, Hi Andrzej, > >  > interesting, I built sage successfully and don't have those errors - > >  > using Arch and no SAGE_ANYTHING environment variables... I noticed I > >  > have other release data - was you trying 3.0 (later

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-23 Thread Andrzej Giniewicz
Hi, > > interesting, I built sage successfully and don't have those errors - > > using Arch and no SAGE_ANYTHING environment variables... I noticed I > > have other release data - was you trying 3.0 (later release - there > > was second release, wasn't it?) - anyway - there's proof it works f

[sage-support] Re: parenthesis matching in notebook environment

2008-04-23 Thread Jason Grout
William Stein wrote: > On Tue, Apr 22, 2008 at 3:56 PM, Jason Grout > <[EMAIL PROTECTED]> wrote: >> Jason Grout wrote: >> > Lars Fischer wrote: >> >> Hello, >> >> >> >>> I think this feature request is reasonable, but the way to >> >>> implement it is to just do it directly instead of includ

[sage-support] Re: regarding tensor products of vectors

2008-04-23 Thread John Cremona
This would surely be easy to implement for vectors: if v and w have respective entries v[i] for i in range(m), and w[j] for j in range(n) then v.tensor_product(w) would have m*n entries v[i]*w[j] index by k in range(m*n) where k=n*i+j. The only issue is whether i moves faster than j instead (k

[sage-support] Re: regarding tensor products of vectors

2008-04-23 Thread Robert Miller
You can do so with matrices (so think of vectors as 1xn or nx1 matrices...): sage: M = matrix(ZZ, [[1,0],[0,1]]) sage: N = matrix(ZZ, [[1,2],[3,4]]) sage: M.tensor_product(N) [1 2|0 0] [3 4|0 0] [---+---] [0 0|1 2] [0 0|3 4] On Apr 23, 11:14 am, vivek <[EMAIL PROTECTED]> wrote: > Hi > > I was

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-23 Thread mabshoff
On Apr 23, 7:02 pm, "Andrzej Giniewicz" <[EMAIL PROTECTED]> wrote: > Hi, > > >  > I have installed sage-3.0 from pre-compiled binary version in Arch > >  > Linux. It works without any problem. > >  > However, if I compile it from source code using gcc-4.3,  I am getting > >  > the following erro

[sage-support] Re: Must SELinux be disabled to run sage?

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 12:33 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I recently installed sage on a Fedora Core 6 machine, > and it appears that sage only runs when SELinux (secure linux) is > disabled. > > When I run it w/ SELINUX=enforcing in /etc/sysconfig/selinux, > I get "c

[sage-support] Must SELinux be disabled to run sage?

2008-04-23 Thread [EMAIL PROTECTED]
I recently installed sage on a Fedora Core 6 machine, and it appears that sage only runs when SELinux (secure linux) is disabled. When I run it w/ SELINUX=enforcing in /etc/sysconfig/selinux, I get "cannot restore segment prot after reloc: Permission denied" when I start sage. Is this the case,

[sage-support] Re: Sage 3.0 released

2008-04-23 Thread kcrisman
> > I can do this tonight, and I'm happy to do it on a regular basis. > > david This is very kind. My PPC takes MANY hours to compile Sage due to lack of RAM, and when there are changes I want to try out the binary is really helpful. I imagine a fair number of "quiet" users also still have 10.4

[sage-support] Re: Trigonometric identities

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 11:52 AM, Hector Villafuerte <[EMAIL PROTECTED]> wrote: > > > On Wed, Apr 23, 2008 at 9:39 AM, William Stein <[EMAIL PROTECTED]> wrote: > > > > On Wed, Apr 23, 2008 at 8:34 AM, Hector Villafuerte <[EMAIL PROTECTED]> > wrote: > > > > > > Hi, > > > I haven't been

[sage-support] Re: Trigonometric identities

2008-04-23 Thread Hector Villafuerte
On Wed, Apr 23, 2008 at 9:39 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Wed, Apr 23, 2008 at 8:34 AM, Hector Villafuerte <[EMAIL PROTECTED]> > wrote: > > > > Hi, > > I haven't been able to 'expand' trigonometric functions in Sage using > > identities such as: > > sin(x + y) = s

[sage-support] Re: trying to animate sphere()

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 10:57 AM, Alyson Deines <[EMAIL PROTECTED]> wrote: > > Hello, > I was just playing around with Sage, and I tried to animate > sphere(). > Is this not implemented yet? > What I did was this: > > L = [sphere((0,i,0))for i in range(10)] > > a = animate(L) > > a.show()

[sage-support] regarding tensor products of vectors

2008-04-23 Thread vivek
Hi I was going through a book(on quantum computation) , which uses tensor products. I wanted to experiment with these tensor products. Is there any function like tensor_product(), which will take 2 or more vectors as input and return their tensor product? I tried to search but I couldn't find an

[sage-support] trying to animate sphere()

2008-04-23 Thread Alyson Deines
Hello, I was just playing around with Sage, and I tried to animate sphere(). Is this not implemented yet? What I did was this: L = [sphere((0,i,0))for i in range(10)] a = animate(L) a.show() with each line in a different cell. After a = animate(L) it graphed the last entry in L and after a.s

[sage-support] Re: Posets or others

2008-04-23 Thread Franco Saliola
Hello all, I've posted a patch up on trac: http://trac.sagemath.org/sage_trac/ticket/2519 And I've decided to move the technical discussion to sage-devel: http://groups.google.com/group/sage-devel/browse_thread/thread/b6fcc3a134abe22c Take care, Franco -- On Mon, Apr 21, 2008 at 1:07 P

[sage-support] Re: parenthesis matching in notebook environment

2008-04-23 Thread Jurgis Pralgauskis
http://Crunchy.sf.net uses editarea, and they had a rough test on FF3 with no complains on editor http://groups.google.com/group/crunchy-discuss there's a screenshot http://popmokslas.projektas.lt/failai/etc/CrunchyEditor%e2%80%93FF.png and js http://www.koders.com/javascript/fidC214ECA4C1C5462D

[sage-support] bug in maxima.eval? meval?

2008-04-23 Thread David Joyner
Hi: This is a problem: sage: CC(spherical_harmonic(1,1,RR(pi/2),RR(pi/2))) -1.20627379501958e-15 + 0.345494149471335*I sage: CC(spherical_harmonic(1,1,pi/2,pi/2)) 0.130735417217099 + 0.285662098159486*I Does anyone know what is going on here? meval is a function in http://www.sagemath.org/hg/sa

[sage-support] Re: Sage 3.0 released

2008-04-23 Thread David Harvey
On Apr 23, 2008, at 12:47 PM, William Stein wrote: > > On Wed, Apr 23, 2008 at 9:08 AM, Jim Clark > <[EMAIL PROTECTED]> wrote: >> Will you be providing a binary for OS X 10.4 PowerPC? > > Unfortunately I no longer have access to *any* OS X 10.5 powerpc > machines. > I personally don't own a

[sage-support] Re: Documentation with several entries

2008-04-23 Thread William Stein
On Tue, Apr 22, 2008 at 5:12 PM, Hector Villafuerte <[EMAIL PROTECTED]> wrote: > > Hi, > while trying this: > sage: gap.Factorization? > > I got this... > > Type: > Definition: gap.Factorization( [noargspec] ) > Docstring: > Help: several entries match this topic - type ?2 to get

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-23 Thread Andrzej Giniewicz
Hi, > > I have installed sage-3.0 from pre-compiled binary version in Arch > > Linux. It works without any problem. > > However, if I compile it from source code using gcc-4.3, I am getting > > the following errors when I run the sage after finishing the > > compilation successfully: > > I

[sage-support] Re: Sage 3.0 released

2008-04-23 Thread Jim Clark
I'll think about doing it, but it will take me a couple of days to dedicate the time to the task. Jim On Apr 23, 2008, at 9:47 AM, William Stein wrote: > > On Wed, Apr 23, 2008 at 9:08 AM, Jim Clark > <[EMAIL PROTECTED]> wrote: >> Will you be providing a binary for OS X 10.4 PowerPC? > > Unf

[sage-support] Re: Using factorial() in symbolic calculus

2008-04-23 Thread John Cremona
Sage does have the Gamma function implemented for real and complex arguments, but it does not seem able to treat it as a symbolic function which can be passed to maxima. Is that something which could be changed? sage: factorial(5) 120 sage: factorial(5) == gamma(6) True sage: gamma(2.3) 1.166711

[sage-support] Re: Sage 3.0 released

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 9:08 AM, Jim Clark <[EMAIL PROTECTED]> wrote: > Will you be providing a binary for OS X 10.4 PowerPC? Unfortunately I no longer have access to *any* OS X 10.5 powerpc machines. I personally don't own any ppc machines, but I have access to three. The owners of all three of

[sage-support] Re: Sage 3.0 released

2008-04-23 Thread Jim Clark
Will you be providing a binary for OS X 10.4 PowerPC?Index of /SAGEbin/apple_osx/powerpc  Name                                            Last modified      Size  Description  Parent Directory                                                     -     README.txt                                     

[sage-support] Re: Trigonometric identities

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 8:34 AM, Hector Villafuerte <[EMAIL PROTECTED]> wrote: > > Hi, > I haven't been able to 'expand' trigonometric functions in Sage using > identities such as: > sin(x + y) = sin(x)*cos(y) + sin(y)*cos(x) > > Is this currently implemented? sage: sage: var('x,y') (x, y) s

[sage-support] Re: complete elliptic integral of the first kind?

2008-04-23 Thread dvase
On Apr 23, 6:12 am, "David Joyner" <[EMAIL PROTECTED]> wrote: > I believe they were implemented, since they are in the documentation > at the URL you > gave under "Methods implemented:" but doesn't seem to be there now. Anyway, > you can try this: > > sage: maxima.eval("elliptic_kc (0.5)") > '1.

[sage-support] Trigonometric identities

2008-04-23 Thread Hector Villafuerte
Hi, I haven't been able to 'expand' trigonometric functions in Sage using identities such as: sin(x + y) = sin(x)*cos(y) + sin(y)*cos(x) Is this currently implemented? Thanks in advance, -- Hector --~--~-~--~~~---~--~~ To post to this group, send email to sage-s

[sage-support] Re: parenthesis matching in notebook environment

2008-04-23 Thread William Stein
On Tue, Apr 22, 2008 at 3:56 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Jason Grout wrote: > > Lars Fischer wrote: > >> Hello, > >> > >>> I think this feature request is reasonable, but the way to > >>> implement it is to just do it directly instead of including a > >>> full javascript

[sage-support] Re: Sage server on a gentoo system

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 7:24 AM, gerhard <[EMAIL PROTECTED]> wrote: > > * Is there a preferred way to set up a directory for worksheets? > > I had some problems with creating worksheets, > which I "solved" by > - creating a directory and setting permissions > - using the directory argument fo

[sage-support] Re: complete elliptic integral of the first kind?

2008-04-23 Thread David Joyner
On Wed, Apr 23, 2008 at 10:09 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Wed, Apr 23, 2008 at 4:12 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > > > I believe they were implemented, since they are in the documentation > > at the URL you > > gave under "Methods implemented:" but

[sage-support] Re: Sage server on a gentoo system

2008-04-23 Thread gerhard
* Is there a preferred way to set up a directory for worksheets? I had some problems with creating worksheets, which I "solved" by - creating a directory and setting permissions - using the directory argument for the notebook - setting the environmental variable USER to point to it's parent Prob

[sage-support] Re: complete elliptic integral of the first kind?

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 4:12 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > I believe they were implemented, since they are in the documentation > at the URL you > gave under "Methods implemented:" but doesn't seem to be there now. Anyway, > you can try this: > > sage: maxima.eval("elliptic_

[sage-support] Re: Using factorial() in symbolic calculus

2008-04-23 Thread William Stein
On Tue, Apr 22, 2008 at 5:47 PM, Helio Perroni Filho <[EMAIL PROTECTED]> wrote: > Hello all, > > I've been trying to use SAGE to find the positive infinity limit of this > function: > > f(x) = ln(x^x) / ln(x!) > > However, if I try defining it in SAGE like this: > > f(x) = ln(x^x) / ln(factorial(x

[sage-support] Sage 3.0 released

2008-04-23 Thread mabshoff
[Note: If you are interested in announcements only please subscribe to sage-announce. It is limited to roughly one email every ten days.] Hello folks, Sage 3.0 has been released on April 21st, 2008. It is available at http://sagemath.org/download.html * About Sage (http://www.sagema

[sage-support] Re: complete elliptic integral of the first kind?

2008-04-23 Thread David Joyner
I believe they were implemented, since they are in the documentation at the URL you gave under "Methods implemented:" but doesn't seem to be there now. Anyway, you can try this: sage: maxima.eval("elliptic_kc (0.5)") '1.854074677301372' or sage: RR(maxima.eval("elliptic_kc (0.5)")) 1.854074677301

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-23 Thread mabshoff
On Apr 23, 12:18 pm, ugus <[EMAIL PROTECTED]> wrote: > Hi, Hi Osman, > I have installed sage-3.0 from pre-compiled binary version in Arch > Linux. It works without any problem. > However, if I compile it from source code using gcc-4.3,  I am getting > the following errors when I run the sage aft

[sage-support] Sage-3.0 run-time errors in Arch linux

2008-04-23 Thread ugus
Hi, I have installed sage-3.0 from pre-compiled binary version in Arch Linux. It works without any problem. However, if I compile it from source code using gcc-4.3, I am getting the following errors when I run the sage after finishing the compilation successfully: