We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I implemented this for #31548 but ended up not using it, so I made this ticket.
sage: moduli = [4, 9, 25, 49] sage: N = prod(moduli) sage: S.<x> = Zmod(N)[] sage: polys = [Zmod(m)['x']([sqrt(m)] + [0]*(sqrt(m)-1) + [1]) for m in moduli] sage: f = polys[0].crt(*polys[1:]) 27000*x^7 + 15876*x^5 + 34300*x^3 + 11025*x^2 + 40530 sage: all(g == f.change_ring(Zmod(m)) for (g, m) in zip(polys, moduli)) True
The interface should probably also support CRT in k[x] and specifying polynomial moduli.
k[x]
Component: number theory
Branch: u/roed/poly_crt
Issue created by migration from https://trac.sagemath.org/ticket/31731
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
I implemented this for #31548 but ended up not using it, so I made this ticket.
The interface should probably also support CRT in
k[x]
and specifying polynomial moduli.Component: number theory
Branch: u/roed/poly_crt
Issue created by migration from https://trac.sagemath.org/ticket/31731
The text was updated successfully, but these errors were encountered: