Opened 2 years ago

Closed 2 years ago

#30652 closed enhancement (fixed)

Use Arb to evaluate polynomials with integer/rational coefficients at balls

Reported by: Marc Mezzarobba Owned by:
Priority: major Milestone: sage-9.3
Component: numerical Keywords:
Cc: Merged in:
Authors: Marc Mezzarobba Reviewers: Vincent Delecroix
Report Upstream: N/A Work issues:
Branch: 7a48f9b (Commits, GitHub, GitLab) Commit: 7a48f9b94f23208ea0b596c55c7cbeab9fb53572
Dependencies: Stopgaps:

Status badges

Description (last modified by Marc Mezzarobba)

Interface the arb functions arb_fmpz_poly_evaluate_*() for evaluating p at x when p ∈ ℤ[x] and x ∈ RBF or CBF.

Change History (9)

comment:1 Changed 2 years ago by Marc Mezzarobba

Branch: u/mmezzarobba/30652-arb_fmpz_poly_eval
Commit: e1c474b50c081283c3933cf7db22de702bdeba67
Description: modified (diff)
Status: newneeds_review
Summary: Wrap the main arb_fmpz functionsWrap arb_fmpz_poly_evaluate_* (p(x) with p ∈ ℤ[x] and x ∈ RBF or CBF)

(At first I wanted to wrap arb_fmpz_poly_complex_roots as well, but that requires more refactoring of the generic roots() method that I have the bandwidth for right now.)


New commits:

2256763#30652 declare arb_fmpz_* C functions
e1c474b#30652 wrap arb_fmpz_poly_eval_*

comment:2 Changed 2 years ago by git

Commit: e1c474b50c081283c3933cf7db22de702bdeba677a48f9b94f23208ea0b596c55c7cbeab9fb53572

Branch pushed to git repo; I updated commit sha1. New commits:

7a48f9b#30652 use arb_fmpz_poly_eval_* for polys over ℚ

comment:3 Changed 2 years ago by Marc Mezzarobba

Summary: Wrap arb_fmpz_poly_evaluate_* (p(x) with p ∈ ℤ[x] and x ∈ RBF or CBF)Wrap arb_fmpz_poly_evaluate_*() for p(x) with p ∈ ℤ[x] or ℚ[x] and x ∈ RBF or CBF

comment:4 Changed 2 years ago by Marc Mezzarobba

Authors: Marc Mezzarobba

comment:5 Changed 2 years ago by Marc Mezzarobba

Description: modified (diff)
Summary: Wrap arb_fmpz_poly_evaluate_*() for p(x) with p ∈ ℤ[x] or ℚ[x] and x ∈ RBF or CBFUse Arb to evaluate polynomials with integer/rational coefficients at balls

comment:6 Changed 2 years ago by Vincent Delecroix

Milestone: sage-9.2sage-9.3
Reviewers: Vincent Delecroix

good to go

comment:7 Changed 2 years ago by Marc Mezzarobba

thnak you!

comment:8 Changed 2 years ago by Vincent Delecroix

Status: needs_reviewpositive_review

comment:9 Changed 2 years ago by Volker Braun

Branch: u/mmezzarobba/30652-arb_fmpz_poly_eval7a48f9b94f23208ea0b596c55c7cbeab9fb53572
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.