[sage-support] Re: how to controll precision when show'ing formulas?

2009-06-21 Thread Dan Drake
On Sun, 21 Jun 2009 at 12:15PM +0300, Jurgis Pralgauskis wrote: > > hello, > > I am constructing simple interact > http://sagenb.org/home/pub/592/ > > in published worksheet, interact seems not to function > so I give the picture.. > http://ftp.akl.lt/users/jurgis/etc/formule_show_precision--how

[sage-support] Re: Sage Installation on Mac OS X 10.5.7

2009-06-21 Thread gsw
On 21 Jun., 15:01, William Stein wrote: > 2009/6/21 quark123 : > > > > > 1. I am running Mac OS X 10.5.7. > > 2. I downloaded sage-4.0.1-OSX10.5.PowerPC-PowerMacIntosh-Darwin.dmg > > 3. When I run the Unix Executable file sage using Terminal, I get the > > following error: > > > /Applications/s

[sage-support] Re: Install problem for Sage

2009-06-21 Thread Paul Sargent
On 21 Jun 2009, at 16:21, lim wrote: > When I try to drag the "sage" folder from /Applications to Terminal, > the following message appears: Why would you do that? (dragging from Applications to Terminal). You sound rather confused. I'll try to write out the steps as simply as I can. If this

[sage-support] Re: Install problem for Sage

2009-06-21 Thread lim
When I try to drag the "sage" folder from /Applications to Terminal, the following message appears: --- You must compile Sage first using 'make' in the Sage root directory. (If you have already compiled Sage, you must set the SAGE_ROOT variable in the file '/Applications/sage'). -

[sage-support] Re: Install problem for Sage

2009-06-21 Thread Paul Sargent
On 21 Jun 2009, at 14:00, William Stein wrote: > > 2009/6/21 lim : >> >> Hi >> >> I encountered the IO Error: [Errno 30] (last line of the the >> below >> quoted message) while installing Sage. Can anyone out there please >> help? > >> IOError: [Errno 30] Read-only file system: '/Volumes/sa

[sage-support] Re: Install problem for Sage

2009-06-21 Thread lim
Hi William I was asked for password after typing su ./sage. What shall I response? P Lim On Jun 21, 9:00 pm, William Stein wrote: > 2009/6/21 lim : > > > > > Hi > > > I encountered the IO Error: [Errno 30] (last line of the the below > > quoted message) while installing Sage.  Can anyone

[sage-support] Re: Sage Installation on Mac OS X 10.5.7

2009-06-21 Thread William Stein
2009/6/21 quark123 : > > 1. I am running Mac OS X 10.5.7. > 2. I downloaded sage-4.0.1-OSX10.5.PowerPC-PowerMacIntosh-Darwin.dmg > 3. When I run the Unix Executable file sage using Terminal, I get the > following error: > > /Applications/sage-4.0.1-OSX10.5-PowerPC-PowerMacintosh-Darwin/sage/ > loc

[sage-support] Re: Install problem for Sage

2009-06-21 Thread William Stein
2009/6/21 lim : > > Hi > > I encountered the IO Error: [Errno 30] (last line of the the below > quoted message) while installing Sage.  Can anyone out there please > help? Try starting Sage from the terminal and typing cd /Volumes/sage-4.0.1-OSX10.5-Intel-i386-Darwin/sage sudo ./sage

[sage-support] Install problem for Sage

2009-06-21 Thread lim
Hi I encountered the IO Error: [Errno 30] (last line of the the below quoted message) while installing Sage. Can anyone out there please help? -- | Sage Version 4.0.1, Release Date: 2009-06-06 | | Type

[sage-support] Sage Installation on Mac OS X 10.5.7

2009-06-21 Thread quark123
1. I am running Mac OS X 10.5.7. 2. I downloaded sage-4.0.1-OSX10.5.PowerPC-PowerMacIntosh-Darwin.dmg 3. When I run the Unix Executable file sage using Terminal, I get the following error: /Applications/sage-4.0.1-OSX10.5-PowerPC-PowerMacintosh-Darwin/sage/ local/bin/sage-sage: line 198: 407 Il

[sage-support] how to controll precision when show'ing formulas?

2009-06-21 Thread Jurgis Pralgauskis
hello, I am constructing simple interact http://sagenb.org/home/pub/592/ in published worksheet, interact seems not to function so I give the picture.. http://ftp.akl.lt/users/jurgis/etc/formule_show_precision--how.png I want that show(function) would give me just 1 precision digit after comma

[sage-support] Re: create a subdiagonal matrix quickly

2009-06-21 Thread Rajeev Singh
> > I should mention that these methods are all nice for this problem, but > they also end up copying an awful lot of zeros. I think it would be way > more efficient in general to make a zero matrix, then set the right > diagonal by hand using a for loop. > Don't you think using a sparse matrix w

[sage-support] Re: How to doctest a pyx file?

2009-06-21 Thread Simon King
Hi! On 20 Jun., 22:10, gsw wrote: > If you wish, we could discuss this topic further and in depth on sage- > devel (where it belongs), just open a thread there. In the first place, I thought it was a support problem, because I thought that testing any text file should be simple (and used to wor

[sage-support] Re: create a subdiagonal matrix quickly

2009-06-21 Thread Jason Grout
rickhg12hs wrote: > On Jun 20, 10:18 pm, Robert Bradshaw > wrote: >> sage: n = 10 >> sage: m = block_matrix([0, zero_matrix(1,1), identity_matrix(n), 0]) >> sage: m.subdivide() # get rid of the block divisions >> sage: m >> [0 0 0 0 0 0 0 0 0 0 0] >> [1 0 0 0 0 0 0 0 0 0 0] >> [0 1 0 0 0 0 0 0 0

[sage-support] Re: create a subdiagonal matrix quickly

2009-06-21 Thread rickhg12hs
On Jun 20, 10:18 pm, Robert Bradshaw wrote: > sage: n = 10 > sage: m = block_matrix([0, zero_matrix(1,1), identity_matrix(n), 0]) > sage: m.subdivide() # get rid of the block divisions > sage: m > [0 0 0 0 0 0 0 0 0 0 0] > [1 0 0 0 0 0 0 0 0 0 0] > [0 1 0 0 0 0 0 0 0 0 0] > [0 0 1 0 0 0 0 0 0 0 0