Skip to content
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

Submodules of (ZZ/nZZ)^r #6452

Open
wdjoyner opened this issue Jul 1, 2009 · 53 comments
Open

Submodules of (ZZ/nZZ)^r #6452

wdjoyner opened this issue Jul 1, 2009 · 53 comments

Comments

@wdjoyner
Copy link

wdjoyner commented Jul 1, 2009

This ticket add some support to submodules of (ZZ/mZZ)^r (e.g. containment, iteration). There is no new algorithm, we just use the code available for submodules of ZZ^r and the Schmidt normal form of integer matrix.

Follow up: #19345

CC: cesarnda@gmail.com @sagetrac-dlucas @johanrosenkilde

Component: linear algebra

Author: Vincent Delecroix

Branch/Commit: public/ticket/6452 @ c93a30a

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

@wdjoyner
Copy link
Author

wdjoyner commented Jul 1, 2009

applies to 4.1.alpha1

@wdjoyner
Copy link
Author

wdjoyner commented Jul 1, 2009

comment:1

Attachment: trac_6452-codes-over-rings.patch.gz

This applies to 4.1.alpha1. This passed sage -testall except for

The following tests failed:                                                                             


        sage -t  "devel/sage/doc/fr/tutorial/programming.rst"
        sage -t  "devel/sage/sage/misc/darwin_utilities.pyx" 
Total time for all tests: 6017.1 seconds                     

Neither of these failures seem related to this ticket.

@aghitza
Copy link

aghitza commented Jul 11, 2009

comment:2

The patch doesn't contain the crucial file ring_code.pyx. Maybe you forgot to add this file to the hg repository?

@wdjoyner
Copy link
Author

Attachment: trac_6452-ring-codes.patch.gz

ignore the previous patch; this applies to 4.1.2.rc2

@wdjoyner
Copy link
Author

comment:3

This latest patch fixes some problems prointed out in private emails from Dan Gordon.

@wdjoyner
Copy link
Author

comment:5

I can also say that the module in coding pass sage -t, with this patch applied, in OS 10.6 on an imac. OS10.6 does not pass sage -testall. However, I do have ubuntu 9.04 32bit installed under vmware on this machine and can test it there if desired.

@mwhansen
Copy link
Contributor

comment:7

Is there any way we can get documentation for the cdef methods as well as possibly some more code comments? I'm just worried that there's no one who is able to maintain this code.

Also, it's not clear to me that there are not memory leak issues with this code as there are lots of malloc's and only one free.

@wdjoyner
Copy link
Author

comment:8

If someone can explain to me what those functions will do, I will add comments on them.
As I said, I am basically doing a favor by posting a patch of someone else's code. I had to make a lot of additions to make it consistent with other parts of the codes library, but basically it is Cesar's code. Personally, I really don't understand the cython stuff.

Does this mean that the code will not be accepted?

@wdjoyner
Copy link
Author

comment:9

Replying to @mwhansen:

Is there any way we can get documentation for the cdef methods as well as
possibly some more code comments? I'm just worried that there's no one who is
able to maintain this code.

Also, it's not clear to me that there are not memory leak issues with this
code as there are lots of malloc's and only one free.

As I said, I could try to add comments to the code, but I really don't know cython
nearly well enough to deal with malloc issues.

I've emailed Cesar and not gotten any response about the memory leak issues.

Given that, should the status change to "resolve as won't fix"? That would be too bad since Sage could really use "linear codes" over rings.

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin removed this from the sage-6.2 milestone May 6, 2014
@fchapoton
Copy link
Contributor

comment:42

this need a python3 refreshment, to avoid cmp and long

@embray
Copy link
Contributor

embray commented Jun 14, 2019

comment:43

Tickets still needing working or clarification should be moved to the next release milestone at the soonest (please feel free to revert if you think the ticket is close to being resolved).

@embray embray modified the milestones: sage-8.8, sage-8.9 Jun 14, 2019
@embray
Copy link
Contributor

embray commented Dec 30, 2019

comment:44

Ticket retargeted after milestone closed

@embray embray modified the milestones: sage-8.9, sage-9.1 Dec 30, 2019
@mkoeppe
Copy link
Contributor

mkoeppe commented Apr 14, 2020

comment:45

Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.1, sage-9.2 Apr 14, 2020
@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Sep 5, 2020
@mkoeppe
Copy link
Contributor

mkoeppe commented Feb 13, 2021

comment:47

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Feb 13, 2021
@mkoeppe
Copy link
Contributor

mkoeppe commented Jul 19, 2021

comment:48

Setting a new milestone for this ticket based on a cursory review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants