On Mon, Apr 6, 2009 at 4:27 AM, Dan Drake <dr...@kaist.edu> wrote:
> On sage.math, I tried repeating some the of doctests from the Maple
> interface [1], but they're not working. Here's my session:

See

  http://trac.sagemath.org/sage_trac/ticket/2120

William

>
>  dr...@sage.math:~$ sage
>  ----------------------------------------------------------------------
>  | Sage Version 3.4, Release Date: 2009-03-11                         |
>  | Type notebook() for the GUI, and license() for information.        |
>  ----------------------------------------------------------------------
>  sage: maple.eval('ifactor(2009)')
>  'read "/home/drake/.sage//temp/sage.math.washington.edu/1954//interface//tm'
>  sage: maple.eval('ifactor(2009)')
>  ''
>  sage: maple.eval('ifactor(2009)')
>  '``(7)^2*``(41)'
>
> I have to put in the command three times before anything works. Then, in
> the same session, if I change the integer, it reuses the older number:
>
>  sage: maple.eval('ifactor(2008)')
>  'read "/home/drake/.sage//temp/sage.math.washington.edu/1954//interface//tm'
>  sage: maple.eval('ifactor(2008)')
>  ''
>  sage: maple.eval('ifactor(2008)')
>  '``(7)^2*``(41)'
>
> Something seems really screwy. Any ideas as to what?
>
> Dan
>
>  1. http://modular.math.washington.edu/sagesrc/sage/interfaces/maple.py.txt
> --
> ---  Dan Drake <dr...@kaist.edu>
> -----  KAIST Department of Mathematical Sciences
> -------  http://mathsci.kaist.ac.kr/~drake
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAknZ5wgACgkQr4V8SljC5LrNxgCfaqsvEgps25t2C3JHyZvTKW2g
> X3IAniL+cS1cPMbuaEx/heMpz2rEUD1p
> =+8q3
> -----END PGP SIGNATURE-----
>
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to