#19418: skew-Hadamard matrices and related srg's
-------------------------+-------------------------------------------------
Reporter: | Owner:
dimpase | Status: needs_review
Type: | Milestone: sage-6.10
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers: Nathann Cohen
combinatorics | Work issues:
Keywords: | Commit:
Authors: Dima | 01763fd38506f8721560fa29e60227e5081db08b
Pasechnik | Stopgaps:
Report Upstream: N/A |
Branch: |
public/19418 |
Dependencies: |
#19309 |
-------------------------+-------------------------------------------------
Comment (by ncohen):
> 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`
Usually the explicit value overrides the implicit value:
{{{
sage: Graph(graphs.PetersenGraph())._backend
<type 'sage.graphs.base.sparse_graph.SparseGraphBackend'>
sage: Graph(graphs.PetersenGraph(),sparse=False)._backend
<type 'sage.graphs.base.dense_graph.DenseGraphBackend'>
}}}
It is not the case in your code.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/19418#comment:33>
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.