#16603: permanental_minor_vector, matching polynomial
-------------------------------------+-------------------------------------
       Reporter:  pernici            |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  linear algebra     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Mario Pernici      |    Reviewers:  Vincent Delecroix
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/16603                 |  e03f93ae3016870383b50bf2a3abea4b5234e51b
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):

 * commit:  e4359bb3d2444375eed077c72274e4f6a4ed87bc =>
     e03f93ae3016870383b50bf2a3abea4b5234e51b
 * branch:  u/pernici/ticket/16603 => u/vdelecroix/16603


Comment:

 Hello,

 First of all, there is already a lot of material on this ticket. It would
 be good to stop here and open tickets for new features (please put me on
 cc on them).

 I push a commit as I do not like the `complement` keyword that sounds like
 you want the rook vector of the complement matrix. I replaced it with
 `use_complement`. I know that it is different from the specification for
 `BipartiteGraphs` but it fits with `IndependentSets`
 {{{
 sage: from sage.graphs.independent_sets import IndependentSets
 sage: I = IndependentSets(graphs.GridGraph((5,5)))
 sage: I.cardinality()
 55447
 sage: I = IndependentSets(graphs.GridGraph((5,5)), complement=True)
 sage: I.cardinality()
 66
 }}}
 Nevertheless, I kept the keyword `complement` to do the following as it is
 very useful
 {{{
 sage: identity_matrix(6).rook_vector(complement=True)
 [1, 30, 315, 1420, 2715, 1854, 265]
 }}}

 Vincent
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=e03f93ae3016870383b50bf2a3abea4b5234e51b
 e03f93a]||{{{trac #16603: change keywords for `rook_vector` + doc}}}||

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