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
Elementary divisors for non PIDs #8226
Comments
Attachment: trac-8226-elementary_divisors.patch.gz |
comment:2
There looks like a typo on line 6293. |
comment:3
Replying to @JohnCremona:
Acutally no. The statement "raise" raises the last exception one has cached and this is exactly what I want. If the SMNF can't be obtainted by means of the algorithm implemented at the moment - and this is indicated by an ArithmeticError - I check whether I can do it diffently. If not the original ArithmeticError with its trac back is the most useful error message. The best would be to check whether a ring is a PID or not. Then decide on the algorithm to use. But this isn't even implemented for ZZ, so no chance to do it. |
comment:4
I think mraum's point is a fair one: re-raising the original error will generally be more helpful than raising a new one (e.g. it might give an explicit example of a non-principal ideal in the base ring). But I don't like the idea that |
Work Issues: should be a separate named function |
Over maximal orders O in number fields K the elementary divisors provide a complete system of invariants for in matrices GL_n(K). Here the elementary divisors are the ideals e_i = d_i / d_{i-1} where d_i are the determinantal divisors. This patch provides the possibility to compute these elementary divisors.
Component: number fields
Keywords: elementary divisors
Work Issues: should be a separate named function
Author: Martin Raum
Issue created by migration from https://trac.sagemath.org/ticket/8226
The text was updated successfully, but these errors were encountered: