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

Similar method to PolyUtil.integerFromRationalCoefficientsFactor() #11

Closed
axkr opened this issue May 25, 2019 · 2 comments
Closed

Similar method to PolyUtil.integerFromRationalCoefficientsFactor() #11

axkr opened this issue May 25, 2019 · 2 comments
Labels

Comments

@axkr
Copy link
Contributor

axkr commented May 25, 2019

Is there a similar method to PolyUtil.integerFromRationalCoefficientsFactor() available for getting reduced GenPolynomial<Complex<BigRational>> polynomials. For example with GaussianIntegers as gcd, lcm?

     public static Object[] method(ComplexRing<BigRational> fac, GenPolynomial<Complex<BigRational>> poly)

Can this also be applied in GreatestCommonDivisor<Complex<BigRational>>#gcd() method?

@kredel
Copy link
Owner

kredel commented May 26, 2019

It may require some steps to convert Complex to BigInteger coefficients. For example

  1. edu/jas/poly/PolyUtil.html#algebraicFromComplex-edu.jas.poly.GenPolynomialRing-edu.jas.poly.GenPolynomial-

  2. edu/jas/poly/PolyUtil.html#fromAlgebraicCoefficients-edu.jas.poly.GenPolynomialRing-edu.jas.poly.GenPolynomial-

  3. edu/jas/poly/PolyUtil.html#integerFromRationalCoefficients-edu.jas.poly.GenPolynomialRing-edu.jas.poly.GenPolynomial-

Complex --> Algebraic --> BigRational --> BigInteger

@kredel
Copy link
Owner

kredel commented Jul 2, 2021

The question seems to be solved.

@kredel kredel closed this as completed Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants