#17474: directed graph from polyhedron
-------------------------------------+-------------------------------------
       Reporter:  chapoton           |        Owner:
           Type:  enhancement        |       Status:  needs_info
       Priority:  minor              |    Milestone:  sage-6.5
      Component:  geometry           |   Resolution:
       Keywords:  polyhedron,        |    Merged in:
  digraph                            |    Reviewers:
        Authors:  Frédéric Chapoton  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/tmonteil/17474   |  5878286fec9dba9d2069ae8a81d76cc0f134f518
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by tmonteil):

 * commit:  37a6f281cfd5700ceb23e078f7beeddde5b1d862 =>
     5878286fec9dba9d2069ae8a81d76cc0f134f518


Comment:

 Replying to [comment:12 chapoton]:
 > How can I check if the input is a linear form ?

 I uploaded a patch that checks if the input is an instance of
 `VectorSpaceMorphism` whose codomain has dimension 1.

 I removed from the doc the possibility to input a list or a tuple since it
 was not working in the previous version (it is doable to try/except `f =
 vector(f)` but i am not sure we have to think for the user).

 > I have also added a keyword to ask for the reverse orientation.

 It works well. Do you have some important reason to go in the decreasing
 direction by default ? If not, i would prefer to have it the other way by
 default, to be consistent with the MILP default, but perhaps i miss some
 other use case.
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=5878286fec9dba9d2069ae8a81d76cc0f134f518
 5878286]||{{{#17474 allow genuine linear forms as input}}}||

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