#17198: New functions max_RIF and min_RIF
-------------------------------------+-------------------------------------
       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                       |  c8f852352d100f04f6c1a489d8fc7ec185ca4dee
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by cheuberg):

 My reasoning for having it as a function as opposed to methods on RIF
 elements where:
 1. There are methods `.min` and `.max` performing the operation for the
 minimum and maximum of two elements
 2. I think that the functions as proposed here are easier to use, e.g.,
 the infinity norm of a vector of real intervals could simply be written as
 `max_RIF(abs(r) for r in v)`.
 Therefore, I felt that having those as functions in the module `real_mpfi`
 (and not importing those in the global name space) is appropriate.

--
Ticket URL: <http://trac.sagemath.org/ticket/17198#comment:4>
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