#17198: Accept several arguments in RealIntervalFieldElement.min and
RealIntervalFieldElement.max
-------------------------------------+-------------------------------------
       Reporter:  cheuberg           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  numerical          |   Resolution:
       Keywords:  RIF                |    Merged in:
        Authors:  Clemens Heuberger  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:  u/cheuberg/rings   |       Commit:
  /RIF-min-max                       |  27080b5dc54b5b4183f4ebe947b21efd45416ebf
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Old description:

> Python's `min` and `max` are not suitable for `RealIntervalFieldElement`,
> as those are not linearly ordered.
>
> This ticket implements replacement functions (also allowing more than two
> arguments, in contrast to the corresponding methods of
> `RealIntervalFieldElement`).

New description:

 Python's `min` and `max` are not suitable for `RealIntervalFieldElement`,
 as those are not linearly ordered; the existing methods
 `RealIntervalFieldElement.min` and `RealIntervalFieldElement.max`
 only compute the minimum or maximum of `self` and `other`.

 This ticket rewrites the methods `RealIntervalFieldElement.min` and
 `RealIntervalFieldElement.max` to accept an arbitrary number of arguments.

--

Comment (by cheuberg):

 Replying to [comment:3 jdemeyer]:
 > I think it would be more useful to have these as methods on `RIF`
 elements.

 I now rewrote the original methods of `RealIntervalField` to achieve what
 I intended with the functions.

--
Ticket URL: <http://trac.sagemath.org/ticket/17198#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to