#14789: Implement hyperplane arrangements
---------------------------------+-----------------------------
       Reporter:  kcrisman       |        Owner:  sage-combinat
           Type:  enhancement    |       Status:  needs_info
       Priority:  major          |    Milestone:  sage-5.13
      Component:  combinatorics  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-----------------------------

Comment (by vbraun):

 I'm still not particularly happy with the syntax. Especially handing
 around tuples isn't really that userfriendly. I would propose the
 following:
 {{{
 sage: H.<x,y,z> = HyperplaneArrangements(QQ)
 }}}
 as shortcut for
 {{{
 sage: H = HyperplaneArrangements(QQ, names='x, y, z')
 sage: H.inject_variables()
 }}}
 and then construct hyperplanes as
 {{{
 sage: hyperplane = x + 2*y + 3*z - 4
 }}}
 and hyperplane arrangements as
 {{{
 sage: arrangement = (x + 2*y + 3*z - 4) and (y - 7) and (x + z)
 sage: arrangement == x + 2*y + 3*z - 4 and y - 7 and x + z     # brackets
 are optional
 True
 }}}
 If nobody objects then I'll work on that since I kind of need hyperplane
 arrangements now...

--
Ticket URL: <http://trac.sagemath.org/ticket/14789#comment:34>
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/groups/opt_out.

Reply via email to