Changes between Initial Version and Version 6 of Ticket #17198


Ignore:
Timestamp:
Nov 21, 2014, 7:13:51 PM (8 years ago)
Author:
Clemens Heuberger
Comment:

Replying to 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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17198

    • Property Status changed from new to needs_review
    • Property Commit changed from to 27080b5dc54b5b4183f4ebe947b21efd45416ebf
    • Property Branch changed from to u/cheuberg/rings/RIF-min-max
    • Property Summary changed from New functions max_RIF and min_RIF to Accept several arguments in RealIntervalFieldElement.min and RealIntervalFieldElement.max
  • Ticket #17198 – Description

    initial v6  
    1 Python's `min` and `max` are not suitable for `RealIntervalFieldElement`, as those are not linearly ordered.
     1Python's `min` and `max` are not suitable for `RealIntervalFieldElement`, as those are not linearly ordered; the existing methods `RealIntervalFieldElement.min` and `RealIntervalFieldElement.max`
     2only compute the minimum or maximum of `self` and `other`.
    23
    3 This ticket implements replacement functions (also allowing more than two arguments, in contrast to the corresponding methods of `RealIntervalFieldElement`).
     4This ticket rewrites the methods `RealIntervalFieldElement.min` and `RealIntervalFieldElement.max` to accept an arbitrary number of arguments.