[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 11:58 PM, Bill Page <[EMAIL PROTECTED]> wrote: > > On Mon, Aug 18, 2008 at 1:51 PM, Ondrej Certik wrote: >> >> On Mon, Aug 18, 2008 at 7:08 PM, Bill Page wrote: >>> >>> Ok, thanks for the example. Yes I admit that using Cython this way >>> is quite nice. It makes me think t

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Bill Page
On Mon, Aug 18, 2008 at 1:51 PM, Ondrej Certik wrote: > > On Mon, Aug 18, 2008 at 7:08 PM, Bill Page wrote: >> >> Ok, thanks for the example. Yes I admit that using Cython this way >> is quite nice. It makes me think that maybe it would be interesting >> to write such Cython wrappers for calling l

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 9:02 PM, Ralf Hemmecke <[EMAIL PROTECTED]> wrote: > >> even looks a little clumsy in this case. My main point in these >> comments, is that when converting between two different high-level >> representations of some more complex mathematical object, e.g. a >> matrix of p-ad

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Ralf Hemmecke
> even looks a little clumsy in this case. My main point in these > comments, is that when converting between two different high-level > representations of some more complex mathematical object, e.g. a > matrix of p-adic polynomials, etc. these conversions can potentially > dominate the interface.

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 7:08 PM, Bill Page <[EMAIL PROTECTED]> wrote: > > On Mon, Aug 18, 2008 at 12:48 PM, Ondrej Certik wrote: >> >> On Mon, Aug 18, 2008 at 6:24 PM, Bill Page wrote: >>> >>> ... It is not so easy to call Python code from a C mainline >>> program either, is it? >> >> Thanks to Cy

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Bill Page
On Mon, Aug 18, 2008 at 12:48 PM, Ondrej Certik wrote: > > On Mon, Aug 18, 2008 at 6:24 PM, Bill Page wrote: >> >> ... It is not so easy to call Python code from a C mainline >> program either, is it? > > Thanks to Cython, it is very easy to call my Python implementation > of something from pure C

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 6:24 PM, Bill Page <[EMAIL PROTECTED]> wrote: > > On Mon, Aug 18, 2008 at 12:06 PM, Ondrej Certik wrote: >> >> On Mon, Aug 18, 2008 at 5:51 PM, Bill Page wrote: >>> ... >>> There is supposed to be an "easy" way to call programs compiled >>> with ECL from C (and thus via som

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Bill Page
On Mon, Aug 18, 2008 at 12:06 PM, Ondrej Certik wrote: > > On Mon, Aug 18, 2008 at 5:51 PM, Bill Page wrote: >> ... >> There is supposed to be an "easy" way to call programs compiled >> with ECL from C (and thus via some suitable wrapper from Python >> or from Cython), but I have yet to see this d

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 5:51 PM, Bill Page <[EMAIL PROTECTED]> wrote: > > On Mon, Aug 18, 2008 at 11:29 AM, Ondrej Certik wrote: >> >> On Mon, Aug 18, 2008 at 5:10 PM, Bill Page wrote: >>> ... >>> Anyway, I think there is a lot of potential for improvement in the >>> existing 'axiom.py' interface

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Bill Page
On Mon, Aug 18, 2008 at 11:29 AM, Ondrej Certik wrote: > > On Mon, Aug 18, 2008 at 5:10 PM, Bill Page wrote: >> ... >> Anyway, I think there is a lot of potential for improvement in the >> existing 'axiom.py' interface even without considering how to >> solve the problem of an efficient applicatio

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 5:10 PM, Bill Page <[EMAIL PROTECTED]> wrote: > > Martin, > > On Sat, Aug 16, 2008 at 1:59 AM, Martin Rubey wrote: >> >> Bill Page writes: >> >>> I am not so sure that a similar role can be played by FriCAS. >>> The FriCAS/Axiom libraries are not so easily called by an >>>

[sage-devel] Re: [fricas-devel] Re: SAGE and FriCAS

2008-08-18 Thread Bill Page
Martin, On Sat, Aug 16, 2008 at 1:59 AM, Martin Rubey wrote: > > Bill Page writes: > >> I am not so sure that a similar role can be played by FriCAS. >> The FriCAS/Axiom libraries are not so easily called by an >> external program. Instead we have the same option to interface >> with FriCAS as we