On Thursday, 30 April 2015 18:12:00 UTC+1, Bill Page wrote:
>
> I just tested the patch and now I get the following in a Sage worksheet on 
> SMC: 
>
> axiom.eval(")version") 
>
> 'alue = "Axiom Axiom (May 2012) built on Friday July 25, 2014 at 23:34:17 
> "\r\n' 
>
> %sage 
> from axiom import axiom 
>
> axiom.eval(")version") 
>
> 'Value = "Axiom Axiom (May 2012) built on Friday July 25, 2014 at 
> 23:34:17 "\r\n' 
>
> %axiom 
> )version 
>
> Value = "Axiom Axiom (May 2012) built on Friday July 25, 2014 at 23:34:17 
> " 
>
> How about

%axiom
f:=x/(x^3-1)

%sage
show(axiom('f'))


-- 
>
> This looks correct with the patch. 
>
>
> On 30 April 2015 at 11:59, Bill Page <bill...@newsynthesis.org 
> <javascript:>> wrote: 
> > On 30 April 2015 at 05:29, Dima Pasechnik <dim...@gmail.com 
> <javascript:>> wrote: 
> >> ... 
> >>> 
> >>> I thought that on SMC in a Sage worksheet you can do %axiom 
> >>> and this will call a system-wide Axiom. Currently SMC is hanging for 
> me, 
> >>> so I can't check. 
> >> 
> >> 
> >> OK, one can start axiom in an SMC  terminal, by typing axiom 
> >> it is 
> >> (1) -> )version 
> >> 
> >> Value = "Axiom Axiom (May 2012) built on Friday July 25, 2014 at 
> 23:34:17 " 
> >> 
> >> My understanding is that %axiom invokes this instance of Axiom. 
> >> 
> > 
> > Yes I think you are right however when I try 
> > 
> > %axiom 
> > )version 
> > 
> > in a Sage worksheet on SMC I get the following Python error message: 
> > 
> > UnboundLocalError: local variable 'out' referenced before assignment 
> > 
> > So I guess this has not been tested for a while. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to