Re: [sage-support] OS X: how to use dmg images remotely

2010-04-12 Thread Ondrej Certik
On Mon, Apr 12, 2010 at 9:04 PM, William Stein wrote: > On Mon, Apr 12, 2010 at 8:57 PM, Ondrej Certik wrote: >> On Mon, Apr 12, 2010 at 8:55 PM, William Stein wrote: >>> On Mon, Apr 12, 2010 at 8:44 PM, Dan Drake wrote: On Mon, 12 Apr 2010 at 08:10PM -0700, Ondrej Certik wrote: > here

[sage-support] Re: Problems to susbstitute a function

2010-04-12 Thread Alec Mihailovs
On Apr 12, 5:57 pm, Eckhard Kosin wrote: > I think I understand:  After > > expr(x) = sin(x) > > expr is a symbolic expression and can be differentiated and the same > goes for sin after > > sin(x) = sin(x) Yes. And the same thing can be done for other functions. In particular, in your example w

Re: [sage-support] OS X: how to use dmg images remotely

2010-04-12 Thread William Stein
On Mon, Apr 12, 2010 at 8:57 PM, Ondrej Certik wrote: > On Mon, Apr 12, 2010 at 8:55 PM, William Stein wrote: >> On Mon, Apr 12, 2010 at 8:44 PM, Dan Drake wrote: >>> On Mon, 12 Apr 2010 at 08:10PM -0700, Ondrej Certik wrote: here is how to unpack the binary sage on the Mac over ssh: >

Re: [sage-support] OS X: how to use dmg images remotely

2010-04-12 Thread Ondrej Certik
On Mon, Apr 12, 2010 at 8:55 PM, William Stein wrote: > On Mon, Apr 12, 2010 at 8:44 PM, Dan Drake wrote: >> On Mon, 12 Apr 2010 at 08:10PM -0700, Ondrej Certik wrote: >>> here is how to unpack the binary sage on the Mac over ssh: >>> >>> $ hdiutil attach sage-4.3.5-OSX-64bit-10.6-i386-Darwin.dmg

Re: [sage-support] OS X: how to use dmg images remotely

2010-04-12 Thread William Stein
On Mon, Apr 12, 2010 at 8:44 PM, Dan Drake wrote: > On Mon, 12 Apr 2010 at 08:10PM -0700, Ondrej Certik wrote: >> here is how to unpack the binary sage on the Mac over ssh: >> >> $ hdiutil attach sage-4.3.5-OSX-64bit-10.6-i386-Darwin.dmg >> $ cp -a /Volumes/sage-4.3.5-OSX-64bit-10.6-i386-Darwin/sa

Re: [sage-support] OS X: how to use dmg images remotely

2010-04-12 Thread Dan Drake
On Mon, 12 Apr 2010 at 08:10PM -0700, Ondrej Certik wrote: > here is how to unpack the binary sage on the Mac over ssh: > > $ hdiutil attach sage-4.3.5-OSX-64bit-10.6-i386-Darwin.dmg > $ cp -a /Volumes/sage-4.3.5-OSX-64bit-10.6-i386-Darwin/sage/ . > > When it is done, just do: > > $ hdiutil detach

[sage-support] OS X: how to use dmg images remotely

2010-04-12 Thread Ondrej Certik
Hi, here is how to unpack the binary sage on the Mac over ssh: $ hdiutil attach sage-4.3.5-OSX-64bit-10.6-i386-Darwin.dmg $ cp -a /Volumes/sage-4.3.5-OSX-64bit-10.6-i386-Darwin/sage/ . When it is done, just do: $ hdiutil detach /Volumes/sage-4.3.5-OSX-64bit-10.6-i386-Darwin/ Posting here, so t

Re: [sage-support] Installation Guide - german translation

2010-04-12 Thread Minh Nguyen
Hi Bernhard, I have converted your ODT document to Sphinx. You can view the patch at ticket #8660 [1]. My knowledge of the German language is non-existent so someone apart from me needs to review that patch. In the meantime, you can browse the German version of the Installation Guide here [2]. [1

Re: [sage-support] Re: Installation Guide - german translation

2010-04-12 Thread William Stein
On Mon, Apr 12, 2010 at 5:45 PM, kcrisman wrote: >> da brat mir einer einen Storch, nach Franzoesisch geht es los mit den > > Diesen Ausdruck habe ich noch nie gehoert - muss aber sofort > Gelegenheiten finden, ihn zu benutzen! > >> Andererseits baut eine Adresse wie die im mit "Um Fehler des Docu

[sage-support] Re: Installation Guide - german translation

2010-04-12 Thread kcrisman
> da brat mir einer einen Storch, nach Franzoesisch geht es los mit den Diesen Ausdruck habe ich noch nie gehoert - muss aber sofort Gelegenheiten finden, ihn zu benutzen! > Andererseits baut eine Adresse wie die im mit "Um Fehler des Documents > zu melden oder für Anregungen ..." beginnenden Abs

[sage-support] Re: problems with sage and brian simulator

2010-04-12 Thread Alec Mihailovs
On Apr 12, 4:03 pm, Alec Mihailovs wrote: > Also, the show command should be replaced with savefig - something > like in the following example, That could be also done without changing the examples on the brian's webpage, by redefining show() as def show(): from matplotlib.pyplot import sav

Re: [sage-support] Re: Problems to susbstitute a function

2010-04-12 Thread Eckhard Kosin
Hi, Am Samstag, den 10.04.2010, 20:39 -0700 schrieb Alec Mihailovs: > On Apr 10, 10:37 am, Eckhard Kosin > wrote: > > > > sage: sin.diff() > > --- > > AttributeError ... > > There is an interesting way to fix that, > > sin(

Re: [sage-support] Re: Problems to susbstitute a function

2010-04-12 Thread Eckhard Kosin
Hi Alec, thank you for your clarifications. They help to play around and get the right feeling for functions and expressions. Eckhard -- Dr. Eckhard Kosin Services in Mathematics and Simulation mailto:e...@mathematik-service-kosin.de http://www.mathematik-service-kosin.de -- To

[sage-support] Re: Installation Guide - german translation

2010-04-12 Thread gsw
Sacklzement, da brat mir einer einen Storch, nach Franzoesisch geht es los mit den Uebersetzungen ins Deutsche! Aber Butter bei die Fische, ganz abgesehen davon, dass der Originaltext sehr inhomogen, und teils grauenhaft veraltet ist --- Stilblueten wie die Ueberschrift "Schritte der Installation

[sage-support] Re: problems with sage and brian simulator

2010-04-12 Thread Alec Mihailovs
On Apr 12, 4:32 pm, William Stein wrote: > > You can also just do > > Action -> Restart Worksheet Thank you! Alec -- 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 For more options, vis

Re: [sage-support] problems with sage and brian simulator

2010-04-12 Thread William Stein
On Monday, April 12, 2010, Alec Mihailovs wrote: > By the way, the easy way to install brian package in Sage from the > notebook is to execute the following cell, > > %sh > easy_install brian > > Then save & quit the worksheet and open it again. You can also just do Action -> Restart Worksheet

[sage-support] Re: problems with sage and brian simulator

2010-04-12 Thread Alec Mihailovs
By the way, the easy way to install brian package in Sage from the notebook is to execute the following cell, %sh easy_install brian Then save & quit the worksheet and open it again. Alec -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: problems with sage and brian simulator

2010-04-12 Thread Alec Mihailovs
On Apr 12, 3:30 pm, Alec Mihailovs wrote: > > import brian_no_units > from brian import * Also, the show command should be replaced with savefig - something like in the following example, from matplotlib.pyplot import savefig eqs = ''' dv/dt = (ge+gi-(v+49*mV))/(20*ms) : volt dge/dt = -ge/(5*ms)

[sage-support] Re: problems with sage and brian simulator

2010-04-12 Thread Alec Mihailovs
On Apr 12, 5:30 am, Uri wrote: > I found another way to solve that problem (which seems more practical > to me). You just have to redefine RealNumber and Integer: > > RealNumber=float > Integer=int You could also disable units - i.e. start brian as import brian_no_units from brian import * Then

[sage-support] Re: multidimensional numerical integration

2010-04-12 Thread Harald Schilly
On Apr 12, 2:43 pm, karl wrote: > I tried to find a method to do multidimensional numerical integration > in sage but could not find anything. There is mpmath in sage, try that one quad(f, [x1, x2], [y1, y2]) http://mpmath.googlecode.com/svn/trunk/doc/build/calculus/integration.html h -- To p

[sage-support] Re: points on elliptic curves mod N

2010-04-12 Thread chris wuthrich
Let link the discussion to the old ticket : http://trac.sagemath.org/sage_trac/ticket/1975 chris. -- 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 For more options, visit this group at

[sage-support] Re: multidimensional numerical integration

2010-04-12 Thread Alec Mihailovs
On Apr 12, 8:43 am, karl wrote: > > integrate(  f(x,y) , x,xmin, xmax,y, ymin, ymax) numerically. One can use dblquad from scipy. For example, from scipy.integrate import dblquad dblquad(lambda y,x:x+2*y, 1, 2, lambda x:1-x, lambda x:1+x) (10.666, 1.1842378929335001e-

[sage-support] multidimensional numerical integration

2010-04-12 Thread karl
Hi I tried to find a method to do multidimensional numerical integration in sage but could not find anything. I simply want to evaluate something like integrate( f(x,y) , x,xmin, xmax,y, ymin, ymax) numerically. -- To post to this group, send email to sage-support@googlegroups.com To unsubs

[sage-support] Re: problems with sage and brian simulator

2010-04-12 Thread Uri
I found another way to solve that problem (which seems more practical to me). You just have to redefine RealNumber and Integer: RealNumber=float Integer=int to avoid the error. On 7 Abr, 11:45, Uri wrote: > Thanks a lot, it worked!! :) > > On 7 Abr, 11:38, Robert Bradshaw wrote: > > > On Apr

[sage-support] Re: loading maxima

2010-04-12 Thread Mathieu Roux
There was about 3390 lines... Here is the answer where i replace rather identically line with ... Mathieu:bin mathieuroux$ sage -f /Applications/sage-4.3.5/spkg/ standard/maxima* Force installing /Applications/sage-4.3.5/spkg/ standard/maxima-5.20.1.spkg Calling sage-spkg on /Applications/sage-4.