-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
free_module method for finite fields, number fields and p-adics #28481
Comments
Branch: u/roed/free_module |
Author: David Roe |
Changed keywords from none to padicBordeaux |
Commit: |
comment:4
The About this comment
having extra methods via tab completion is a good thing, especially as they are all still applicable to the objects. That specific reason really is not a good argument for not doing that, but are there other side effects that cause problems? - - ``basis`` -- a basis of the field as a vector space
- over the subfield. If not given, one is chosen automatically.
+ - ``basis`` -- a basis of the field as a vector space
+ over the subfield; f not given, one is chosen automatically
- - ``map`` -- whether to return maps from and to the vector space.
+ - ``map`` -- whether to return maps from and to the vector space - - ``basis`` -- a basis for the vector space (ignored)
+ - ``basis`` -- (ignored) a basis for the vector space
- - ``map`` -- whether to return maps to and from the vector space (default True)
+ - ``map`` -- (default: ``True``) whether to return maps to and from the vector space - - ``base`` -- a subfield (default: ``None``), the returned vector
+ - ``base`` -- a subfield (default: ``None``); the returned vector
space is over this subfield `R`, which defaults to the base field of this
- function field.
+ function field
- - ``basis`` -- a basis for this field over the base.
- ``maps`` -- boolean (default ``True``), whether to return
- `R`-linear maps to and from `V`.
+ `R`-linear maps to and from `V` - - ``basis`` -- a list of elements giving a basis over the subfield (optional)
+ - ``basis`` -- (optional) a list of elements giving a basis over the subfield
+ - ``map`` -- whether to return isomorphisms to and from the vector space (default ``True``)
+ - ``map`` -- (default: ``True``) whether to return isomorphisms to and from the vector space Also |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Replying to @tscrim:
Thanks; fixed.
Yep.
|
comment:8
Replying to @roed314:
Thanks for the explanations. Do you think you could change the above comment to state one of them you gave? Once done, then positive review.
No problem. It is something beyond the current ticket and not important for your applications. It is something I could look into too when I have more time as well.
In the mathematical sense, the category stores this information (i.e., it is an R-module, so it returns the dimension as an R-module), although we have partially removed this information. However, that is a bit tangential to this issue. I don't know the code, but your implementation of |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
I'm not sure that checking equality with In the doctest of the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Thanks; fixed. |
comment:13
LGTM if patch bot is happy |
Reviewer: Xavier Caruso |
comment:14
Maybe, for convenience:
|
comment:16
By the way, the patchbot reported small issues (pyflakes + one method not documented) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
I think I fixed the doctest and pyflakes errors. Setting to Needs Review so that the patchbot can check. I haven't addressed Xavier's most recent comments yet.... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:22
Thanks |
comment:23
moving milestone to 9.0 (after release of 8.9) |
Changed branch from u/roed/free_module to |
…keyword, change default per sagemath#28481 (2019)
, sagemath#24483, sagemath#24371, sagemath#24511, sagemath#25848, sagemath#26105, sagemath#28481, sagemath#29010, sagemath#29412, sagemath#30332, sagemath#30372, sagemath#31345, sagemath#32375, sagemath#32606, sagemath#32610, sagemath#32612, sagemath#32641, sagemath#32660, sagemath#32750, sagemath#32869, sagemath#33602 <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36307 Reported by: Matthias Köppe Reviewer(s):
In support of the ring extension classes in #21413, we want to generalize the functionality of the
vector_space
method to free modules over other rings. This ticket renames the method tofree_module
and implements it for p-adic extensions.CC: @saraedum @xcaruso
Component: algebra
Keywords: padicBordeaux
Author: David Roe
Branch/Commit:
242fecc
Reviewer: Xavier Caruso
Issue created by migration from https://trac.sagemath.org/ticket/28481
The text was updated successfully, but these errors were encountered: