-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
Implement algorithm=pari
for characteristic polynomial of a matrix
#39824
base: develop
Are you sure you want to change the base?
Implement algorithm=pari
for characteristic polynomial of a matrix
#39824
Conversation
The problem is sage method should probably not return pari Gen object. It is especially confusing when it prints out identical to a sage polynomial. ( conversion from pari polynomial to sage polynomial doesn't work yet → #39814 ) |
@user202729 I have added following lines to handle the conversion of the PARI Gen object to a SageMath polynomial
|
Need documentation and doctest. Also avoid importing from |
@user202729 I have provided a doctest example showing how to use the algorithm="pari" and changed the import statement to import pari from |
Need documentation of the possible values of the |
@user202729 I have improved documentation and doctests as suggested |
this should go to charpoly method instead of here? Also the format of the documentation is incorrect, search for |
This PR fixes #39815
📝 Checklist
⌛ Dependencies