Martin,

Ok, I understand now: converting Axiom ---> Sage . I was confused
because the quote was a little out of context. It is clear from your
original email. What you want is for this to work:

 axiom('sin y').sage()

And of course in general for any Axiom object. As Waldek suggested
earlier perhaps what we really want is just an "infix" transformation
of the InputForm rather than 'unparse' - or even an operation
specially written in FriCAS for conversion of expressions to Sage.

Regards,
Bill Page.

On Mon, Sep 15, 2008 at 10:09 AM, Martin Rubey
<[EMAIL PROTECTED]> wrote:
>
> "Bill Page" <[EMAIL PROTECTED]> writes:
>
>> On Sat, Sep 13, 2008 at 7:07 PM, Martin Rubey wrote:
>> >
>> >
>> > Mostly, because I think the following *should* work...
>> >
>> > sage: a = axiom.sin(x)
>> >
>>
>> This does already work for me without any additional changes to axiom.py:
>>
>> sage: a=axiom.sin(x)
>> sage: a
>> sin(x)
>> sage: a.type()
>> Expression Integer
>
> Yes, of course *that* works.  But I want
>
> sage: a = axiom.sin(x)
> sage: a
> sin(x)
> sage: a.sage()
>
>
> to work.
>
> Martin
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to