[sage-support] Re: Install problem for Sage

2009-07-09 Thread etoipi
I got thru your step 5, but at step 6, the Terminal window shows this: >Error setting environment variables by running /Applications/Installed from >Internet/Mathematics/sage/local/bin/sage-env; possibly contact sage-devel (see >http://groups.google.com/group/sage-devel). cat: /bin/sage-banner:

[sage-support] Re: Sage binary vs source on Windows

2009-07-09 Thread Minh Nguyen
Hi, I'm CC'ing this to sage-windows, as your questions are very relevant to the Windows port of Sage. -- Regards Minh Van Nguyen On Fri, Jul 10, 2009 at 6:46 AM, DigDug_the_2nd wrote: > > Thanks, that's really helpful. > For Visual Studio, can I get away with installing the Express Version > o

[sage-support] axes_range problem ?

2009-07-09 Thread Mike Witt
var('t') e=parametric_plot((3*sin(t), 2*cos(t)), (t,0,2*pi)) e.set_aspect_ratio(1) e.set_axes_range(-3 , 3 , -3 ,3 ) p=point((2,2/3*sqrt(5))) p.set_aspect_ratio(1) p.set_axes_range(-3 , 3 , -3 ,3 ) e.show() p.show() (e+p).show() -- e.show()

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread Kevin Horton
On 9 Jul 2009, at 15:02, William Stein wrote: > On Thu, Jul 9, 2009 at 11:31 AM, Mikie > wrote: >> >> Robert, how do I update my sage installation when you create a >> patch. Do I have to reinstall Sage? >> Thanx > > I just did > > sage: > hg_sage.apply('http://trac.sagemath.org/sage_trac/at

[sage-support] Re: Sage binary vs source on Windows

2009-07-09 Thread DigDug_the_2nd
Thanks, that's really helpful. For Visual Studio, can I get away with installing the Express Version or even just Visual C++ 2008 if its just being used as a compiler? Or does it draw on the .NET framework or parts of Visual Studio other than the compiler itself in order to make Sage work with Win

[sage-support] Re: Sage binary vs source on Windows

2009-07-09 Thread William Stein
On Thu, Jul 9, 2009 at 1:42 AM, Dr. David Kirkby wrote: > > Minh Nguyen wrote: >> Hi, >> >> On Thu, Jul 9, 2009 at 3:35 PM, DigDug_the_2nd >> wrote: >>>     I installed Sage binary under WINDOWs Vista using the VM Player >>> as described in the Installation Manual . . . so far so good . . . but >

[sage-support] Re: import module for all notebooks

2009-07-09 Thread dw
That's exactly what I needed. Thank you. The second solution you posted was right on. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread William Stein
On Thu, Jul 9, 2009 at 12:12 PM, William Stein wrote: > On Thu, Jul 9, 2009 at 12:02 PM, William Stein wrote: >> On Thu, Jul 9, 2009 at 11:31 AM, Mikie wrote: >>> >>> Robert,  how do I update my sage installation when you create a >>> patch.  Do I have to reinstall Sage? >>> Thanx >> >> I just did

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread William Stein
On Thu, Jul 9, 2009 at 12:02 PM, William Stein wrote: > On Thu, Jul 9, 2009 at 11:31 AM, Mikie wrote: >> >> Robert,  how do I update my sage installation when you create a >> patch.  Do I have to reinstall Sage? >> Thanx > > I just did > > sage: > hg_sage.apply('http://trac.sagemath.org/sage_trac

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread William Stein
On Thu, Jul 9, 2009 at 11:31 AM, Mikie wrote: > > Robert,  how do I update my sage installation when you create a > patch.  Do I have to reinstall Sage? > Thanx I just did sage: hg_sage.apply('http://trac.sagemath.org/sage_trac/attachment/ticket/5081/5081-numpy-types.patch') sage: quit sage -

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread Mikie
Robert, how do I update my sage installation when you create a patch. Do I have to reinstall Sage? Thanx On Jul 9, 5:37 am, Ahmed Fasih wrote: > Jason, Robert, I'm trying to understand the patch, but it looks like > this is a fix for *all* Numpy/Scipy-Sage type issues? If so---oh happy > day!

[sage-support] Re: import module for all notebooks

2009-07-09 Thread Marshall Hampton
One way, from the wiki faq (http://wiki.sagemath.org/faq): QUESTION: Is there anything so Sage can be made to automatically execute commands on startup? ANSWER: Yes, just make a file $HOME/.sage/init.sage and it will be executed any time you start sage. A more pervasive solution would be to chan

[sage-support] import module for all notebooks

2009-07-09 Thread dw
I have added the unum module for units to my site-packages. I use this module in nearly all notebooks and would like to avoid importing it at the top of every one. Can someone point me to where I can add this to the list of standard imports? Thanks. --~--~-~--~~~---~

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread Ahmed Fasih
Jason, Robert, I'm trying to understand the patch, but it looks like this is a fix for *all* Numpy/Scipy-Sage type issues? If so---oh happy day! On Jul 9, 5:53 am, Jason Grout wrote: > Ahmed Fasih wrote: > > Writing your own is a good way to understand the implementation issues > > that we somet

[sage-support] Re: logarithms in complex number fields

2009-07-09 Thread davidloeffler
On Jul 8, 4:54 pm, mac8090 wrote: > I'm investigating relationships between sets of fundamental units of > complex extensions of the rationals. All the information from here > down to the horizontal line is context, and you can probably > understand my problem without understanding it. > > I've c

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread Jason Grout
Ahmed Fasih wrote: > Writing your own is a good way to understand the implementation issues > that we sometimes unthinkingly rely on, but for production code, it's > always a good idea to default to the pre-packaged implementation. > > In this case, I think it's the standard issue with Scipy not

[sage-support] Re: Communication with Sage

2009-07-09 Thread Robert Bradshaw
On Jul 9, 2009, at 12:55 AM, Minh Nguyen wrote: > Hi Aleksey, > > On Thu, Jul 9, 2009 at 5:33 PM, Aleksey > Gogolev wrote: >> >> Hello! >> >> Advise needed. >> >> I have a PHP site and I have a Sage server. I want to add a new >> feature to the site, where user can perform some calculations: ente

[sage-support] Re: Sage binary vs source on Windows

2009-07-09 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi, > > On Thu, Jul 9, 2009 at 3:35 PM, DigDug_the_2nd wrote: >> I installed Sage binary under WINDOWs Vista using the VM Player >> as described in the Installation Manual . . . so far so good . . . but >> I'm a little unsure what the VM Player is actually doing. Sage is

[sage-support] Re: Sage binary vs source on Windows

2009-07-09 Thread Minh Nguyen
Hi, On Thu, Jul 9, 2009 at 3:35 PM, DigDug_the_2nd wrote: > > I installed Sage binary under WINDOWs Vista using the VM Player > as described in the Installation Manual . . . so far so good . . . but > I'm a little unsure what the VM Player is actually doing. Sage is not > installed in the ord

[sage-support] Re: Communication with Sage

2009-07-09 Thread Minh Nguyen
Hi Aleksey, On Thu, Jul 9, 2009 at 5:33 PM, Aleksey Gogolev wrote: > > Hello! > > Advise needed. > > I have a PHP site and I have a Sage server. I want to add a new > feature to the site, where user can perform some calculations: enter > formula, data and then submit the form. Then PHP receives t

[sage-support] Sage binary vs source on Windows

2009-07-09 Thread DigDug_the_2nd
I installed Sage binary under WINDOWs Vista using the VM Player as described in the Installation Manual . . . so far so good . . . but I'm a little unsure what the VM Player is actually doing. Sage is not installed in the ordinary sense that a program is usually installed . . . right? What I'

[sage-support] Re: Communication with Sage

2009-07-09 Thread Dr. David Kirkby
Aleksey Gogolev wrote: > Hello! > > Advise needed. > > I have a PHP site and I have a Sage server. I want to add a new > feature to the site, where user can perform some calculations: enter > formula, data and then submit the form. Then PHP receives the formula > and data. > > The next step is

[sage-support] Communication with Sage

2009-07-09 Thread Aleksey Gogolev
Hello! Advise needed. I have a PHP site and I have a Sage server. I want to add a new feature to the site, where user can perform some calculations: enter formula, data and then submit the form. Then PHP receives the formula and data. The next step is to send formula and data to Sage from PHP,