Skip to content

Minimal polynomials of matrices over SymbolicRing #18040

@pjbruin

Description

@pjbruin

In Sage 6.6.rc0:

sage: M = matrix.identity(SR, 2)
sage: type(M)
<type 'sage.matrix.matrix_symbolic_dense.Matrix_symbolic_dense'>
sage: M.minpoly()
Traceback (most recent call last):
...
NotImplementedError: is_squarefree() is only implemented for polynomials over principal ideal domains

Trying to work around #11126 fails with a different error:

sage: SR in Fields()
True
sage: M.minpoly()
Traceback (most recent call last):
...
NotImplementedError:

This ticket implements minpoly() for matrices over SymbolicRing using the function minimalPoly() from Maxima's diag package.

Component: symbolics

Keywords: minimal polynomial symbolic maxima

Author: Peter Bruin

Branch/Commit: 35a3314

Reviewer: Travis Scrimshaw

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions