OK, thanks to Bill, Mike and William the axiom interface is now mostly working
on my computer.

Mostly, because I think the following *should* work...

sage: a = axiom.sin(x)
sage: a
sin(x)
sage: a.sage()
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)

/local/scratch/sage-3.1.final/<ipython console> in <module>()

/local/scratch/sage-3.1.final/local/lib/python2.5/site-packages/sage/interfaces/expect.py
 in sage(self)
   1392             Rational Field
   1393         """
-> 1394         return self._sage_()
   1395
   1396     def __repr__(self):

/local/scratch/sage-3.1.final/local/lib/python2.5/site-packages/sage/interfaces/axiom.py
 in _sage_(self)
    784             return 
sage.misc.sage_eval.sage_eval(self.unparsed_input_form())
    785         except:
--> 786             raise NotImplementedError
    787
    788

NotImplementedError:


On the other hand, I even get an error -- although different -- trying the
following:

sage.misc.sage_eval.sage_eval('sin(x)')
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/local/scratch/sage-3.1.final/<ipython console> in <module>()

/local/scratch/sage-3.1.final/local/lib/python2.5/site-packages/sage/misc/sage_eval.py
 in sage_eval(source, locals, cmds, preparse)
    158         return locals['_sage_eval_returnval_']
    159     else:
--> 160         return eval(source, sage.all.__dict__, locals)
    161
    162

/local/scratch/sage-3.1.final/<string> in <module>()

NameError: name 'x' is not defined


Slowly getting started...

Martin


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to