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
Compute J-ideal of a matrix #21992
Comments
Last 10 new commits:
|
Commit: |
Branch: u/cheuberg/compute-j-ideal |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Reviewer: Daniel Krenn |
comment:4
Code looks good, is extensively tested, docs are fine. I only found the following minor issues / suggestions:
I am not sure, why no patchbot tested this ticket yet... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Thank you for your review. I modified the branch taking all your comments into account. |
comment:7
Replying to @cheuberg:
LGTM.
Ok, thank you. I think this is much better now.
Ok.
So, this is a positive review from my side. I suggest to wait some more days to see if the patchbot with all plugins agrees as well. |
comment:8
Some very minor points:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Replying to @tscrim:
Thank you for your comments. I pushed changes.
done. This required merging a 6.5.rc1 (until now, the branch was based on 6.4 which had no master reference file).
Yes, and to recall what matrix is what. I commented out those asserts checking Smith normal form.
I did this in two instances; it does not seem to be trivial because the information from the input section is somehow needed. So this introduces some redundancy.
Please be more specific where you want to have whitespace added. There is quite a number of LaTeX formulae throughout the module. |
comment:11
Dear Travis, Replying to @tscrim:
I agree that constructs like
should not end in a period (by our new convention), but Best, Daniel |
comment:12
Replying to @dkrenn:
Maybe this would be a good compromise:
|
comment:13
Redundancy is not necessarily a bad thing, especially when it comes to documenting inputs. Also, why did you leave in the For the latex and spacing, I think this is the worst one (I'm also okay with no space after - For `0<t\le \max\mathcal{S}`, a `(p^t)`-minimal polynomial is
- For `0 < t \le \max \mathcal{S}`, a `(p^t)`-minimal polynomial is
given by `\nu_s` where
- `s=\min\{ r\in\mathcal{S}\mid r\ge t\}`.
- For `t>\max\mathcal{S}`, the minimal polynomial of `B` is
+ `s = \min\{ r \in \mathcal{S} \mid r \ge t\}`.
+ For `t > \max \mathcal{S}`, the minimal polynomial of `B` is
also a `(p^t)`-minimal polynomial. Also, for def null_ideal(self, b=0):
r"""
- Return the `(b)`-ideal `N_{(b)}(B)=\{f\in \ZZ[X] \mid f(B)\in M_n(b\ZZ)\}` where `B`
- is this matrix.
+ Return the null ideal corresponding to ``b`` of ``self``.
+
+ Let `B` be an `n \times n` matrix. The *null ideal* of `b`, or `(b)`-ideal, is
+
+ .. MATH::
+
+ N_{(b)}(B) = \{f \in \ZZ[X] \mid f(B) \in M_n(b\ZZ)\}.
+ For I like the compromise less than just allowing the periods. While I would like to adhere more to our (long standing) conventions of allowing things closer to run-on sentences to not end in periods in |
comment:15
Replying to @tscrim:
Because it does not work: First problem is that the first step ( Next problem is some kind of bug in lifting, cf. https://ask.sagemath.org/question/35555/lifting-a-matrix-from-mathbbqyy-1/ . At this point, we stopped trying and decided to concentrate on the integer case first.
done.
done (in slightly different wording). This concerns the documentation in
The set of integer valued polynomials of the matrix
Can we leave it in the current form? |
comment:16
Replying to @cheuberg:
Could you add these to the
I think a bit more verbose name is warranted here, something like
Yes. |
comment:18
Replying to @tscrim:
Done.
I renamed the method to |
comment:19
LGTM. Daniel, any other comments before we set this to a positive review. |
Changed reviewer from Daniel Krenn to Daniel Krenn, Travis Scrimshaw |
comment:20
Replying to @tscrim:
Fine for me as well. |
Changed branch from u/cheuberg/compute-j-ideal to |
In [HR2016], an algorithm for computing the
J
-ideal of a matrix is given: Given a matrixB
over a principal ideal domainR
and an ideal(a)
, the(a)
ideal ofB
consists of those polynomials overR[X]
which mapB
to a matrix inM_n((a))
.This ticket contains the accompanying code.
[HR2016] Clemens Heuberger and Roswitha Rissner, Computing J-Ideals of a Matrix Over a Principal Ideal Domain, [https://arxiv.org/abs/1611.10308 arXiv 1611.10308 [math.AC]], 2016.
CC: @dkrenn @rosirot
Component: linear algebra
Author: Clemens Heuberger, Roswitha Rissner
Branch/Commit:
079f8f1
Reviewer: Daniel Krenn, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/21992
The text was updated successfully, but these errors were encountered: