#19418: skew-Hadamard matrices and related srg's
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  dimpase                |       Status:  needs_work
           Type:         |    Milestone:  sage-6.10
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:  Nathann Cohen
  combinatorics          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  c284eda90adb73aa4e0a36e0d6467fb76c779654
Report Upstream:  N/A    |     Stopgaps:
         Branch:         |
  public/19418           |
   Dependencies:         |
  #19309                 |
-------------------------+-------------------------------------------------

Comment (by dimpase):

 Replying to [comment:22 ncohen]:
 > a couple of remarks about the last commit:
 >
 > - except without the name of a specific exception makes Jeroen scream.
 OK, sure, I will make it catch `NoneType`

 >
 > - It is a weird that the value of 'sparse' is ignored when 'v.is_sparse'
 says otherwise. The expected behaviour would be sparse=None by default
 (auto detect) and use the user-provided value otherwise.
 >
 I want to implement something like this:

 {{{
     def f(vector v):
          stuff...

     def f(list v, sparse=False):
          stuff...
 }}}
 and this is what my code does.

 The user-provided value of sparse for vector `v` is present in `v`
 already.
 If the user wants to make it explicit, he can call the function with the
 parameter `vector(v, sparse=whatever)` instead of just `v`

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