matrix_template.pyx

31 views
Skip to first unread message

Clemens Heuberger

unread,
Feb 23, 2015, 3:56:40 AM2/23/15
to sage-...@googlegroups.com
http://www.sagemath.org/doc/reference/matrices/sage/matrix/docs.html#implementation-and-design

mentions

"See the files matrix_template.pxd and matrix_template.pyx."

However, I could not find these files.

If they do not exist: is there a recommended example to follow when I implement
bindings for arb's acb_mat class? (#17220).

Thank you,

CH

Vincent Delecroix

unread,
Feb 23, 2015, 3:59:29 AM2/23/15
to sage-...@googlegroups.com
I would look at matrix_integer_dense.pyx which wraps fmpz_mat from
flint (which looks even better after #17822 (needs review)).

Are there also arb's polynomial?

Vincent

2015-02-23 9:56 UTC+01:00, Clemens Heuberger <clemens....@aau.at>:
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

Dima Pasechnik

unread,
Feb 23, 2015, 4:25:24 AM2/23/15
to sage-...@googlegroups.com
On 2015-02-23, Clemens Heuberger <clemens....@aau.at> wrote:
> http://www.sagemath.org/doc/reference/matrices/sage/matrix/docs.html#implementation-and-design
>
> mentions
>
> "See the files matrix_template.pxd and matrix_template.pyx."
>
> However, I could not find these files.
Could you open a trac ticket on this?
Thanks!

Clemens Heuberger

unread,
Feb 23, 2015, 4:41:38 AM2/23/15
to sage-...@googlegroups.com
On 2015-02-23 11:25, Dima Pasechnik wrote:
> On 2015-02-23, Clemens Heuberger <clemens....@aau.at> wrote:
>> http://www.sagemath.org/doc/reference/matrices/sage/matrix/docs.html#implementation-and-design
>>
>> mentions
>>
>> "See the files matrix_template.pxd and matrix_template.pyx."
>>
>> However, I could not find these files.
> Could you open a trac ticket on this?
> Thanks!

http://trac.sagemath.org/ticket/17836

For simplicity, I attached a branch deleting the reference; however, providing
the two files would be welcome (but I cannot do it).

Regards, CH

Clemens Heuberger

unread,
Feb 23, 2015, 4:46:48 AM2/23/15
to sage-...@googlegroups.com


On 2015-02-23 10:59, Vincent Delecroix wrote:
> I would look at matrix_integer_dense.pyx which wraps fmpz_mat from
> flint (which looks even better after #17822 (needs review)).

thanks for the hint.

> Are there also arb's polynomial?

Yes, arb provides polynomials

http://fredrikj.net/arb/arb_poly.html ,
http://fredrikj.net/arb/acb_poly.html ,

however, I do not plan to write sage bindings in the foreseeable future.

Regards,

Clemens

Vincent Delecroix

unread,
Feb 23, 2015, 5:11:35 AM2/23/15
to sage-...@googlegroups.com
2015-02-23 10:46 UTC+01:00, Clemens Heuberger <clemens....@aau.at>:
>
>
> On 2015-02-23 10:59, Vincent Delecroix wrote:
>> I would look at matrix_integer_dense.pyx which wraps fmpz_mat from
>> flint (which looks even better after #17822 (needs review)).
>
> thanks for the hint.
>
>> Are there also arb's polynomial?
>
> Yes, arb provides polynomials
>
> http://fredrikj.net/arb/arb_poly.html ,
> http://fredrikj.net/arb/acb_poly.html ,

Cool!

> however, I do not plan to write sage bindings in the foreseeable future.

Too bad! I will have a look once the interface is stabilized. It would
be really useful for #17830.

Vincent
Reply all
Reply to author
Forward
0 new messages