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
Accept several arguments in RealIntervalFieldElement.min and RealIntervalFieldElement.max #17198
Comments
Branch: u/cheuberg/rings/RIF-min-max |
New commits:
|
Commit: |
comment:3
I think it would be more useful to have these as methods on |
comment:4
My reasoning for having it as a function as opposed to methods on RIF elements where:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Replying to @jdemeyer:
I now rewrote the original methods of |
This comment has been minimized.
This comment has been minimized.
Reviewer: Daniel Krenn |
comment:7
Looks good. Merges cleanly on 6.5.rc0. I'm still waiting for "make ptestlong" to finish... |
Changed branch from u/cheuberg/rings/RIF-min-max to |
Python's
min
andmax
are not suitable forRealIntervalFieldElement
, as those are not linearly ordered; the existing methodsRealIntervalFieldElement.min
andRealIntervalFieldElement.max
only compute the minimum or maximum of
self
andother
.This ticket rewrites the methods
RealIntervalFieldElement.min
andRealIntervalFieldElement.max
to accept an arbitrary number of arguments.CC: @sagetrac-skropf
Component: numerical
Keywords: RIF
Author: Clemens Heuberger
Branch/Commit:
27080b5
Reviewer: Daniel Krenn
Issue created by migration from https://trac.sagemath.org/ticket/17198
The text was updated successfully, but these errors were encountered: