On Mon, Jun 7, 2010 at 6:26 PM, Ondrej Certik <[email protected]> wrote:

> On Mon, Jun 7, 2010 at 1:00 AM, Fredrik Johansson
> <[email protected]> wrote:
> > On Mon, Jun 7, 2010 at 4:18 AM, Ondrej Certik <[email protected]> wrote:
> >>
> >> Will it be possible to also use it outside of Sage? E.g. I guess if
> >> you do "setup.py install" in mpmath, that it would compile the Cython
> >> codes and install it? That'd be really cool.
> >
> >
> > It can be done in theory. The main problem is that the Cython extension
> code
> > requires MPIR and the MPIR interface code in Sage.
>
> How many things are needed from MPIR? Looking at
> mpmath/libmp/backend.py, do you need only MPZ (=sage.Integer), or do
> you need more things?
>
> Also, where in Sage will the Cython code be? Or will it be in the
> mpmath repository?
>

The Cython code is here:
http://hg.sagemath.org/sage-main/file/2cffe66bd642/sage/libs/mpmath

Fredrik

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy?hl=en.

Reply via email to