Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert rootof function from giac #23015

Open
mforets mannequin opened this issue May 17, 2017 · 4 comments
Open

Convert rootof function from giac #23015

mforets mannequin opened this issue May 17, 2017 · 4 comments

Comments

@mforets
Copy link
Mannequin

mforets mannequin commented May 17, 2017

Provide a corresponding Sage function for Giac's rootof. From the inline help of XCAS:

rootof(LstPoly(P),LstPoly(Q)): Polynomial in terms of a root of an irreducible polynomial on Q. Returns P(a) with a the greatest root of Q.

For example,

sage: giac.simplify((exp(2*i*pi/3)+exp(2*i*pi/15))^3)
((-768*i)*(-1)^(2/15)*sqrt(3)-768*(-1)^(2/15)+768*i*(-1)^(4/15)*sqrt(3)-768*(-1)^(4/15)+rootof([[16-16*i,-16+16*i,-400+528*i,144+240*i],[1,0,-30,-40,5]]))/512

This seems different from #22024.

Depends on #22024

CC: @rwst @frederichan-IMJPRG @slel

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/23015

@mforets mforets mannequin added this to the sage-8.0 milestone May 17, 2017
@mforets mforets mannequin added c: symbolics labels May 17, 2017
@rwst

This comment has been minimized.

@slel

This comment has been minimized.

@slel slel modified the milestones: sage-8.0, sage-8.4 Sep 19, 2018
@nasser1
Copy link

nasser1 commented Dec 27, 2019

comment:3

fyi, This still shows up in 8.9

var('x')
integrate(x^6/(2*x^5+3)^3,x, algorithm="giac")
NotImplementedError: Unable to parse Giac output: rootof(

@mkoeppe mkoeppe modified the milestones: sage-8.4, sage-9.2 Aug 17, 2020
@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Oct 24, 2020
@mkoeppe
Copy link
Contributor

mkoeppe commented Feb 13, 2021

comment:6

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Feb 13, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 May 3, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe removed this from the sage-9.8 milestone Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants