Split more methods for MatrixElem into seperate ones for MatElem and MatRingElem#2325
Conversation
is_square(::MatRingElem)
|
One of the first breakages is in |
|
I'm puzzled about the state of this PR: there seem to be many modifications which I certainly did not make. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2325 +/- ##
==========================================
- Coverage 88.15% 88.11% -0.04%
==========================================
Files 126 128 +2
Lines 32093 32879 +786
==========================================
+ Hits 28290 28972 +682
- Misses 3803 3907 +104 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
…le, is_nilpotent, hessenberg, is_hessenberg, charpoly
af4392c to
3132110
Compare
is_square(::MatRingElem)is_square(::MatRingElem); to apply to MatRingElem work with underlying matrix
|
QUESTION
The first two groups probably make sense; I am less convinced about the last two groups. I did also introduce a (buggy?) version of |
Removed unintended change
Undo unintended edit
…ott/AbstractAlgebra.jl into JAA/remove-issquare-MatRingElem
| # | ||
| ################################################################################ | ||
|
|
||
| is_square(a::MatRingElem) = true # FIXME: remove this once we untangled MatRingElem and MatrixElement etc. |
There was a problem hiding this comment.
If I see correctly, this line is the only breaking part of the PR. Thus, IMO, it would make sense to split this PR into two as the rest of it can be merged right now
|
@JohnAAbbott let's work on this together this afternoon, maybe factor out the non-breaking parts and merge them right away? |
|
I have reinstated the definition of |
is_square(::MatRingElem); to apply to MatRingElem work with underlying matrixMatrixElem into seperate ones for MatElem and MatRingElem
| return d | ||
| end | ||
|
|
||
| function tr(x::MatRingElem{T}) where T <: NCRingElement |
There was a problem hiding this comment.
I think in previous similar PRs these split off methods for MatRingElem were always put in the file src/MatRing.jl. Could you please do the same for the changes in this PR?
Removed
is_square(::MatRingElemto see what breaks.