Re: [sage-support] Residue of the exponential function

2015-11-05 Thread John Cremona
Why are you giving the argument z to the residue function ? If you wanted the residue at 0 put that. But exp (2/z) is not meromorphic at 0 so the residue there is surely undefined ? On Nov 5, 2015 3:53 AM, "Rob Beezer" wrote: > > > On Wednesday, November 4, 2015 at

[sage-support] TAB completion

2015-11-05 Thread Justin C. Walker
Hi, In the distant past, I knew how to configure Sage to handle TAB completion this way: - one TAB: complete if unique prefix typed; else - second TAB: list all possible I have not been able to determine how to achieve this in recent versions: I always get a complete list on one TAB, and

Re: [sage-support] TAB completion

2015-11-05 Thread William Stein
On Thu, Nov 5, 2015 at 3:29 PM, Justin C. Walker wrote: > Hi, > > In the distant past, I knew how to configure Sage to handle TAB completion > this way: > - one TAB: complete if unique prefix typed; else > - second TAB: list all possible > > I have not been able to determine

Re: [sage-support] TAB completion

2015-11-05 Thread John H Palmieri
On Thursday, November 5, 2015 at 3:40:01 PM UTC-8, William wrote: > > On Thu, Nov 5, 2015 at 3:29 PM, Justin C. Walker > wrote: > > Hi, > > > > In the distant past, I knew how to configure Sage to handle TAB > completion this way: > > - one TAB: complete if unique

Re: [sage-support] Re: Octave and R plots in sagecell

2015-11-05 Thread Andrey Novoseltsev
OK, here is my take on R plots: http://sagecell.sagemath.org/?z=eJwryMkv0SjKyy_K1TA0MNDU5OUqwBDJKkhN1yjPTCnJsDUGimBTUpCSpoFdAkMkOTGzKD8epCE_LzUtMyfV1s3RJ9iVSN3FZekaIE15ibmptkrOpcUl-bl6QEElrKoB67NCZQ===r SageMathCell now defaults to producing SVG plots in R and displays all automatic plots that

Re: [sage-support] TAB completion

2015-11-05 Thread Justin C. Walker
On Nov 5, 2015, at 18:02 , John H Palmieri wrote: > On Thursday, November 5, 2015 at 5:03:27 PM UTC-8, William wrote: >> >> On Thu, Nov 5, 2015 at 4:02 PM, John H Palmieri > > wrote: [snip] >> >> Thanks! This worked for Justin upon adding the line >> >>

Re: [sage-support] Re: Octave and R plots in sagecell

2015-11-05 Thread William Stein
Thanks -- I've made a ticket: https://github.com/sagemathinc/smc/issues/234 Where's a link to exactly your code (so I can add it to the SMC ticket)? On Thu, Nov 5, 2015 at 7:09 PM, kcrisman wrote: > Impressive! > > >> >> SageMathCell now defaults to producing SVG plots

Re: [sage-support] TAB completion

2015-11-05 Thread William Stein
On Thu, Nov 5, 2015 at 4:02 PM, John H Palmieri wrote: > > > On Thursday, November 5, 2015 at 3:40:01 PM UTC-8, William wrote: >> >> On Thu, Nov 5, 2015 at 3:29 PM, Justin C. Walker wrote: >> > Hi, >> > >> > In the distant past, I knew how to configure

Re: [sage-support] Residue of the exponential function

2015-11-05 Thread Rob Beezer
Thanks, John. Allowable syntax is residue(z) or residue(z == 0). The former defaults to using 0, so they should be equivalent and both forms give the same result. LIke I said, my complex analysis is rusty. And I am really asking for somebody else. Is the chunk of code that produces 2

Re: [sage-support] Residue of the exponential function

2015-11-05 Thread Nils Bruin
On Thursday, November 5, 2015 at 5:11:42 PM UTC-8, Rob Beezer wrote: > > LIke I said, my complex analysis is rusty. And I am really asking for > somebody else. Is the chunk of code that produces 2 (above) not following > the definition of the residue? > No it's not. If t=1/z then you don't

Re: [sage-support] TAB completion

2015-11-05 Thread William Stein
On Thu, Nov 5, 2015 at 7:59 PM, Justin C. Walker wrote: > > On Nov 5, 2015, at 18:02 , John H Palmieri wrote: > >> On Thursday, November 5, 2015 at 5:03:27 PM UTC-8, William wrote: >>> >>> On Thu, Nov 5, 2015 at 4:02 PM, John H Palmieri >> > wrote: > [snip]

Re: [sage-support] TAB completion

2015-11-05 Thread John H Palmieri
On Thursday, November 5, 2015 at 5:03:27 PM UTC-8, William wrote: > > On Thu, Nov 5, 2015 at 4:02 PM, John H Palmieri > wrote: > > > > > > On Thursday, November 5, 2015 at 3:40:01 PM UTC-8, William wrote: > >> > >> On Thu, Nov 5, 2015 at 3:29 PM, Justin C. Walker

Re: [sage-support] Re: Octave and R plots in sagecell

2015-11-05 Thread kcrisman
Impressive! > SageMathCell now defaults to producing SVG plots in R and displays all > automatic plots that it can (BMP, JPEG, PNG, SVG). Users are free to start > new plotting devices, pass any options to them, and create multiple plots > in the same cell. Plots with custom names or harder