#17665: Change binary_matrix data type to use bitset
-------------------------------------+-------------------------------------
       Reporter:  dcoudert           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.5
      Component:  misc               |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  David Coudert      |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/dcoudert/ticket/17665            |  283e45e4ebb5a2471b96740a29c31d800abba603
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Given that bitsets are initialized with zeros, replace
 {{{
 binary_matrix_init(m, n, n)
 binary_matrix_fill(m, 0)
 }}}
 by
 {{{
 binary_matrix_init(m, n, n)
 }}}

 In `bitset_are_disjoint`, replace
 {{{
 We assume ``a.limbs == b.limbs``.
 }}}
 by
 {{{
 We assume ``a.limbs <= b.limbs``.
 }}}

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