Re: [sage-support] Hold symbolic expressions

2010-02-27 Thread Burcin Erocal
Hi Robert, On Fri, 26 Feb 2010 17:14:22 -0800 (PST) ma...@mendelu.cz ma...@mendelu.cz wrote: Holding symbolic expressions has been requested several times here. For example [1]-][4]. Is there something new in this topic? Now or in near future? Here is another related post:

Re: [sage-support] Re: sage 4.3.3 fortan compilation problem

2010-02-27 Thread Minh Nguyen
Hi, On Sat, Feb 27, 2010 at 8:51 PM, bourbabis bourba...@gmail.com wrote: SNIP Everything seems correct. So I've thought, Sage doesn't succeed to locate the fortan compiler and thus I must explicitly set the two environment variables. Or is it a problem of gfortran version ? It looks to me

[sage-support] Re: how to find solutions with fsolve

2010-02-27 Thread Harald Schilly
On Feb 26, 11:20 pm, Jose Guzman n...@neurohost.org wrote: This probably has not much to do with Sage, but I need some help. I do not fully get your example and I might be wrong, but I have the feeling you are looking for the inverse survival function, i.e. binom.isf(...) [i'm only sure that

[sage-support] Re: Comparing Factorizations and Polynomials

2010-02-27 Thread John Cremona
If you look at the source code (line 400 of sage/structure/ factorization.py) you can see how Sage compares a Factorization object with something else: (1) If the other thing is not a Factorization it will give false; else (2) it compares the expansions of both (i.e. multiplies them out then

[sage-support] Re: animations of raytraces of 3d plots.

2010-02-27 Thread Jason Grout
On 02/18/2010 07:14 AM, Marshall Hampton wrote: I recommend using ffmpeg for stuff like that, it will do a better job than animate as long as animate is just using imagemagick. You need to save the image files with sequential names. I can post an example if you are interested. Someone might

[sage-support] install problem on osx 10.4

2010-02-27 Thread harven
dear all, I try to install sage on a intel mac running osx 10.4.11. I didn't find a binary for 10.4 on the website although it is stated that 10.4 is supported. So I tried with the disk image sage-4.3.3-OSX-32bit-10.5- i386-Darwin.dmg I followed the install instructions but when I try to start

[sage-support] Letting users access Sage via HTTP

2010-02-27 Thread Sam'l B
Can anyone point me to the part of the Fine Manual which describes how to set up Sage to let users not on the Sage server access via HTTP (I.e. 'http://192.168.1.99:8000') ? ? TIA Sam'l B. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group,

Re: [sage-support] Letting users access Sage via HTTP

2010-02-27 Thread David Joyner
On Sat, Feb 27, 2010 at 5:19 PM, Sam'l B sa...@samlb.ws wrote:        Can anyone point me to the part of the Fine Manual which describes how to set up Sage to let users not on the Sage server access via HTTP (I.e. 'http://192.168.1.99:8000') ? ? I think it is easier if you just type notebook?

Re: [sage-support] Letting users access Sage via HTTP

2010-02-27 Thread Sam'l B
Many thanks. On 02/27/2010 02:27 PM, David Joyner wrote: On Sat, Feb 27, 2010 at 5:19 PM, Sam'l Bsa...@samlb.ws wrote: Can anyone point me to the part of the Fine Manual which describes how to set up Sage to let users not on the Sage server access via HTTP (I.e.

Re: [sage-support] Letting users access Sage via HTTP

2010-02-27 Thread Minh Nguyen
Hi Sam'l, On Sun, Feb 28, 2010 at 9:19 AM, Sam'l B sa...@samlb.ws wrote: Can anyone point me to the part of the Fine Manual which describes how to set up Sage to let users not on the Sage server access via HTTP (I.e. 'http://192.168.1.99:8000') ? ? Start the Sage command line interface

[sage-support] Re: Comparing Factorizations and Polynomials

2010-02-27 Thread ntroutman
I'm not suggesting multiplying it back out, but that if comparing to a polynomial and the factorization has only one term, compare the polynomial to that single term. I didn't know about the is_irreducible() function, lol. Guess that would have worked best for what I needed. I think the code that

[sage-support] eigenvectors of a 2x2 matrix

2010-02-27 Thread harven
Dear all, I try to find the eigenvectors of a general 2x2 matrix using var('a,b,c,d');show(Matrix(2,2,[a,b,c,d]).eigenvalues()); show(Matrix([[a,b],[c,d]]).eigenvectors_left()) The eigenvalues are ok, but I get an error for the eigenvectors. What am I doing wrong here ? -- To post to this

[sage-support] finding out how to import a built-in (say, vector)

2010-02-27 Thread Dima Pasechnik
In a sage function I need to use Sage's built-in types, say, vector. E,g, def foo(bar): from import vector as v a=v(bar) How do I find out from where it has to be imported? (I haven't come up with anything better than running a grep on devel/ sage/sage/*/*.py* looking for vector and

Re: [sage-support] finding out how to import a built-in (say, vector)

2010-02-27 Thread Robert Bradshaw
On Feb 27, 2010, at 6:22 PM, Dima Pasechnik wrote: In a sage function I need to use Sage's built-in types, say, vector. E,g, def foo(bar): from import vector as v a=v(bar) How do I find out from where it has to be imported? (I haven't come up with anything better than running a grep on

[sage-support] Re: animations of raytraces of 3d plots.

2010-02-27 Thread Marshall Hampton
#7298 depends on #7297, spkg's for libogg and libtheora. I tried to review that and got stuck/frustrated with compilation problems. I encourage someone else to give it a try. I think it might be easier on linux than OS X (I usually do development work on OS X, especially for notebook related

[sage-support] Re: eigenvectors of a 2x2 matrix

2010-02-27 Thread Marshall Hampton
I'm not sure this is the best answer, but you could do: A = matrix(SR,[[a,b],[c,d]]) v1,v2 = A.eigenvalues() show((A-v1).left_kernel().basis()[0]) show((A-v2).left_kernel().basis()[0]) Perhaps part of the issue is that these do not have to be distinct. -M. Hampton On Feb 27, 5:39 pm, harven