#19364: Add edges() and endpoints() method to intervals
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  basic arithmetic   |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/add_edges___method_to_rif_and_cif_elements|  
388d495a093e551084e137f947e51ad74f6e0100
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Description changed by jdemeyer:

Old description:

> Add an `edges()` method to intervals (elements of `RIF` and `CIF`).
>
> 1. For complex intervals, return the 4 edges of the rectangular interval
> as intervals.
> 1. For real intervals, return the endpoints as intervals.
>
> For `CIF`, we also add an `endpoints()` method returning the 4 corners of
> the interval.
>
> In other words, if the given interval lives in some N-dimensional space,
> then:
> 1. `edges()` returns the (N-1)-dimensional faces.
> 1. `endpoints()` returns the 0-dimensional faces.

New description:

 Add an `edges()` method to intervals (elements of `RIF` and `CIF`).

 1. For complex intervals, return the 4 edges of the rectangular interval
 as intervals.
 1. For real intervals, return the endpoints as single-point intervals.

 For `CIF`, we also add an `endpoints()` method returning the 4 corners of
 the interval.

 In other words, if the given interval lives in some N-dimensional space,
 then:
 1. `edges()` returns the (N-1)-dimensional faces as intervals.
 1. `endpoints()` returns the 0-dimensional faces as points.

--

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