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

Remove deadwood: sage/functions/elementary.py and sage/rings/interval.py #4847

Closed
sagetrac-mabshoff mannequin opened this issue Dec 21, 2008 · 6 comments
Closed

Remove deadwood: sage/functions/elementary.py and sage/rings/interval.py #4847

sagetrac-mabshoff mannequin opened this issue Dec 21, 2008 · 6 comments
Assignees
Milestone

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 21, 2008

The two files in question are ancient (2006 or earlier), not imported and deprecated. So let's get rid of them.

Cheers,

Michael

CC: @wdjoyner

Component: misc

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

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-3.2.3 milestone Dec 21, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this Dec 21, 2008
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Dec 21, 2008

comment:1

Attachment: trac_4847.patch.gz

After applying the patch, deleting the build directory followed by a "sage -ba" all doctests pass.

Cheers,

Michael

@sagetrac-mhampton
Copy link
Mannequin

sagetrac-mhampton mannequin commented Dec 21, 2008

comment:2

These files are clearly old and untested. Interval.py is deprecated by its own author and it seems fine to remove it. It is less clear to me that elementary.py is totally redundant, it would be good if David Joyner could explicitly comment on its usefulness. Otherwise it looks reasonable to get rid of these.

@sagetrac-mhampton
Copy link
Mannequin

sagetrac-mhampton mannequin commented Dec 21, 2008

comment:4

David, can you comment on elementary.py?
Thanks,
Marshall

@williamstein
Copy link
Contributor

comment:5
14:03 < wstein> The interval.py file I wrote, and can be safely deleted.
14:03 < wstein> It was deprecated and it has been > 6 mnths.
14:04 < mabs> Well, I had never seen that file, which should tell you something :)
14:05 < wstein> The elementary functions thing is totally of a different nature.
14:05 < wstein> I very much doubt it has been replaced by something newer.
14:05 < wstein> And it's very useful for differential equations teaching.
14:05 < wstein> At least that was the intention.
14:05 < wstein> But I personally don't have interest in that.
14:06 < wstein> Best thing would be to delete it and have David -- if he cares -- submit a new
14:06 < wstein> patch that adds back a version that fully works.

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Dec 22, 2008

comment:6

Merged in Sage 3.2.3.alpha0

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Dec 22, 2008
@wdjoyner
Copy link

comment:7

Sorry, for the late reply. I read some of these comments but missed the request to comment on this.

Comments: I am unconvinced by the usefulness of the code in elementary.py (which I wrote, so I can be as critical as I want:-). It was written way before the excellent code implementing the symbolic expression rings. As William said, it was motivated by solving constant coefficient ODEs using the method of undetermined coefficients/annihilators. It was also motivated by a desire to experiment with ways to implement differential operator rings, but it does this unconvincingly as well. (I don't want to say "it does this badly" because it might be that rings of differential operators should be implemented as a method for the SR class - I don't know.)

Bottom line - I agree elementary should be dumped. However, I'm very interested in alternative approaches anyone comes up with, especially ones that implement differential operator rings properly.

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

2 participants